• Stan Hu's avatar
    Disable Prometheus metrics if initialization fails · 51c4ba46
    Stan Hu authored
    Previously if the underlying filesystem ran of space, reads and writes
    to mmap() regions would throw an ugly SIGBUS error and crash.
    
    With prometheus-client-mmap v0.10.0,
    `Prometheus::Client.reinitialize_on_pid_change` will now throw an
    IOError if initialization fails for some reason. If this happens, we
    disable internal Prometheus metrics to ensure the system stays up.
    
    Closes https://gitlab.com/gitlab-org/gitlab/issues/24425
    51c4ba46
This project manages its dependencies using Bundler. Learn more
Gemfile.lock 33.9 KB