Class: Prometheus::Client::Histogram
- Defined in:
- lib/prometheus/client/histogram.rb,
lib/prometheus/client/histogram/bucket.rb
Defined Under Namespace
Classes: Bucket
Instance Method Summary collapse
Methods inherited from Metric
#default, #get, #initialize, #set, #to_json, #value
Constructor Details
This class inherits a constructor from Prometheus::Client::Metric
Instance Method Details
#add(labels, timing) ⇒ Object
10 11 12 |
# File 'lib/prometheus/client/histogram.rb', line 10 def add(labels, timing) raise NotImplementedError end |
#measure(labels, &block) ⇒ Object
14 15 16 |
# File 'lib/prometheus/client/histogram.rb', line 14 def measure(labels, &block) raise NotImplementedError end |
#type ⇒ Object
6 7 8 |
# File 'lib/prometheus/client/histogram.rb', line 6 def type :histogram end |