Move Prometheus presentation logic to PrometheusText
+ Use NullMetrics to mock metrics when unused
+ Use method_missing in NullMetrics mocking
+ Update prometheus gem to version that correctly uses transitive dependencies
+ Ensure correct folders are used in Multiprocess prometheus client tests.
+ rename Sessions controller's metric
Showing
... | @@ -270,8 +270,7 @@ group :metrics do | ... | @@ -270,8 +270,7 @@ group :metrics do |
gem 'influxdb', '~> 0.2', require: false | gem 'influxdb', '~> 0.2', require: false | ||
# Prometheus | # Prometheus | ||
gem 'mmap2', '~> 2.2.6' | gem 'prometheus-client-mmap', '~>0.7.0.beta5' | ||
gem 'prometheus-client-mmap', '~>0.7.0.beta3' | |||
end | end | ||
group :development do | group :development do | ||
... | ... |
lib/gitlab/health_checks/prometheus_text.rb
0 → 100644
Please
register
or
sign in
to comment