Description:
When running PMM with Docker, it’s possible to modify retention with the DATA_RETENTION environment variable, but this seems to affect VictoriaMetrics ¿and ClickHouse?. In my case, ClickHouse is using the most space. How can I increase VictoriaMetrics retention but reduce just ClickHouse?
Hey there @Juan_Ferrer_Toribio
Unfortunately this is not possible with the PMM install. Please open a feature request at https://jira.percona.com/ under the PMM project.
You can always attempt this yourself. Exec into the running pmm container, then use the clickhouse cli and manually perform any cleanup. Keep in mind that the password for the clickhouse user is random, and hashed. You’ll have to edit the clickhouse user xml and create a new user, or change the password to something known, restart clickhouse using supervisorctl. be sure to set the password back otherwise PMM won’t be able to log in.