• Aleksei Lipniagov's avatar
    Fix metric files being wiped after the app starts · 3f981586
    Aleksei Lipniagov authored
    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.
    3f981586
65278-fix-puma-master-counter-wipe.yml 109 Bytes