blob: aabada5c21a5372269b1fd3dee4361a78a9933fb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
module Gitlab
module Metrics
# Mocks ::Prometheus::Client::Metric and all derived metrics
class NullMetric
include Singleton
def method_missing(name, *args, &block)
nil
end
end
end
end
|