-
- Downloads
Fix metric files being wiped after the app starts
When we hit our app with the initial request, in `warmup`, some metrics already being created as well as corresponding files. If we do `multiproc_file_dir` cleanup after that, we delete the files from the dir while keeping them in memory which leads to the incorrect behavior: the metric is being updated in in-memory, while is not present in the db, not sent to Prometheus as the result.
Showing
- changelogs/unreleased/65278-fix-puma-master-counter-wipe.yml 5 additions, 0 deletionschangelogs/unreleased/65278-fix-puma-master-counter-wipe.yml
- config.ru 15 additions, 0 deletionsconfig.ru
- config/initializers/7_prometheus_metrics.rb 0 additions, 19 deletionsconfig/initializers/7_prometheus_metrics.rb
Please register or sign in to comment