Metric Data Archiving

Are there any tool(s)/scripts to archive historical data from PMM to avoid having the data store grow and grow and grow?

Hi mldba,

inside PMM exists two space eaters:
[]Prometheus database (data for graphs)
]Query Analytics database (mysql)
[/LIST] Periodic purge for both of them are configurable.
[]QUERIES_RETENTION in days for Query Analytics (“8” default value)
]METRICS_RETENTION in hours for Prometheus database (“720h” default value)
[/LIST] please use the following command for set them

docker run -d \
-p 80:80 \
--volumes-from pmm-data \
--name pmm-server \
--restart always \