Module: Prometheus::Client

Defined in:
lib/prometheus/client.rb,
lib/prometheus/client/push.rb,
lib/prometheus/client/gauge.rb,
lib/prometheus/client/metric.rb,
lib/prometheus/client/counter.rb,
lib/prometheus/client/summary.rb,
lib/prometheus/client/version.rb,
lib/prometheus/client/registry.rb,
lib/prometheus/client/histogram.rb,
lib/prometheus/client/formats/text.rb,
lib/prometheus/client/rack/exporter.rb,
lib/prometheus/client/rack/collector.rb,
lib/prometheus/client/label_set_validator.rb

Overview

Client is a ruby implementation for a Prometheus compatible client.

Defined Under Namespace

Modules: Formats, Rack Classes: Counter, Gauge, Histogram, LabelSetValidator, Metric, Push, Registry, Summary

Constant Summary collapse

VERSION =
'0.7.0.beta1'

Class Method Summary collapse

Class Method Details

.registryObject

Returns a default registry object


9
10
11
# File 'lib/prometheus/client.rb', line 9

def self.registry
  @registry ||= Registry.new
end