-
-
Notifications
You must be signed in to change notification settings - Fork 30
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
Memory leak #52
Comments
https://github.com/beam-telemetry/telemetry_metrics_prometheus_core/blob/main/lib/core/aggregator.ex#L17 |
There are a couple of ways to solve this problem. Some of those have been discussed here: #41. In short, you will probably need to set up a GenServer cron job that regularly aggregates the ETS data. |
Ok, thank you. As for me, I've replaced this lib with prometheus_ex. |
Hi. We are using your library in our project, and consider it helpful. Thank you.
However, we found a memory leak. If nobody ever asks for metrics through API, ETS dist table is never clean up.
We've got 1Gb of data and 3M of records in dist table before noticing it.
The text was updated successfully, but these errors were encountered: