Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to cleanup older metrics stored? #494

Open
codingkarthik opened this issue Jun 16, 2023 · 1 comment
Open

Is there a way to cleanup older metrics stored? #494

codingkarthik opened this issue Jun 16, 2023 · 1 comment

Comments

@codingkarthik
Copy link

I am recording Prometheus metrics in my application and would like to clean up the legacy data in the collectors regularly. I need to clean up because my application uses a high-cardinality label and the longer my server runs, the more the memory increases steadily.

@suryapandian
Copy link

There is no easy way to clean up legacy data. via admin API you could https://sbcode.net/prometheus/delete-timeseries/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants