Skip to content

Support resetting of Prometheus metrics between test runs (EE port)

Stan Hu requested to merge sh-reset-prometheus-metrics-properly into master

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

CE port: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/18836

Edited by Stan Hu

Merge request reports