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.
Actions