IssueRaiser

Metrics for PRs are never expiring ("memory leak")

<!--- Please keep this note for the community ---> ### Community Note * Please vote on this issue by adding a ๐Ÿ‘ [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to the original issue to help the community and maintainers prioritize this request. Searching for pre-existing feature requests helps us consolidate datapoints for identical requirements into a single place, thank you! * Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request. * If you are interested in working on this issue or have submitted a pull request, please leave a comment. <!--- Thank you for keeping this note for the community ---> --- <!--- When filing a bug, please include the following headings if possible. Any example text in this template can be deleted. ---> ### Overview of the Issue <!--- Please describe the issue you are having and how you encountered the problem. ---> When new PR is opened, Atlantis starts producing metrics for it. Unfortunately, when PR is merged, they are never deleted. In our case we realised we import 500k metrics every minute from Atlantis, being 75MB in size, while we had 0 active PRs. ### Reproduction Steps <!--- In order to effectively and quickly resolve the issue, please provide exact steps that allow us the reproduce the problem. If no steps are provided, then it will likely take longer

Posted by krzysztof-magosa on Mar 7, 2024, 4:28 PM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.2,000 issues0 comments

github (E-commerce)

Metrics for PRs are never expiring ("memory leak")

krzysztof-magosaMar 7, 2024, 4:28 PM

<!--- Please keep this note for the community ---> ### Community Note * Please vote on this issue by adding a ๐Ÿ‘ [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to the original issue to help the community and maintainers prioritize this request. Searching for pre-existing feature requests helps us consolidate datapoints for identical requirements into a single place, thank you! * Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request. * If you are interested in working on this issue or have submitted a pull request, please leave a comment. <!--- Thank you for keeping this note for the community ---> --- <!--- When filing a bug, please include the following headings if possible. Any example text in this template can be deleted. ---> ### Overview of the Issue <!--- Please describe the issue you are having and how you encountered the problem. ---> When new PR is opened, Atlantis starts producing metrics for it. Unfortunately, when PR is merged, they are never deleted. In our case we realised we import 500k metrics every minute from Atlantis, being 75MB in size, while we had 0 active PRs. ### Reproduction Steps <!--- In order to effectively and quickly resolve the issue, please provide exact steps that allow us the reproduce the problem. If no steps are provided, then it will likely take longer

Comments (0)

No comments yet. Start the discussion.

Comment on this issue