Lifespan of monitoringstats records

Hi. I’m working with Periodic Tasks which writes records to monitoringstats table. From my understanding the records are only inserted to the table and never updated nor deleted. So the table only grows.
I would like if old records are deleted from DB and lifespan of records is configurable.

Is such a feature present or planned?

Starting with version 3.0 you will be able to define your own monitoringstats modules and

  1. write to a better time series db
  2. delete old entries as you wish

See for more information.
You are welcome to contribute a more sophisticated time series db connector. Like to Prometheus or any store I am not aware of.