Support resetting of Prometheus metrics between test runs
Adding the :prometheus tag to an rspec test will clear out memory-mapped files and reset the registry. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/39968
Showing
... | ... | @@ -309,7 +309,7 @@ group :metrics do |
gem 'influxdb', '~> 0.2', require: false | ||
# Prometheus | ||
gem 'prometheus-client-mmap', '~> 0.9.1' | ||
gem 'prometheus-client-mmap', '~> 0.9.2' | ||
gem 'raindrops', '~> 0.18' | ||
end | ||
... | ... |
Please register or sign in to comment