Class: PrometheusExporter::Server::TypeCollector

Inherits:
Object
  • Object
show all
Defined in:
lib/prometheus_exporter/server/type_collector.rb

Instance Method Summary collapse

Instance Method Details

#collect(obj) ⇒ Object


9
10
11
# File 'lib/prometheus_exporter/server/type_collector.rb', line 9

def collect(obj)
  raise "must implement collect"
end

#metricsObject


13
14
15
# File 'lib/prometheus_exporter/server/type_collector.rb', line 13

def metrics
  raise "must implement metrics"
end

#typeObject


5
6
7
# File 'lib/prometheus_exporter/server/type_collector.rb', line 5

def type
  raise "must implement type"
end