Actions
Bug #30903
closedCleanup prometheus temporary files on shutdown
Description
When Prometheus is enabled, it accumulates many temporary files for each worker process and once they get recycled, processes leaves many data file behind making the `/metrics` endpoint slower and slower to the point where it is unusable. This patch introduces `at_exit` block that performs cleanup during shutdown. This will keep Prometheus client library at healthy state.
Updated by Lukas Zapletal about 4 years ago
- Related to Bug #30029: /metrics endpoint takes over a minute to load added
Updated by The Foreman Bot about 4 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/8011 added
Updated by Lukas Zapletal about 4 years ago
- Status changed from Ready For Testing to Rejected
Actions