Class: PrometheusExporter::Server::CollectorBase

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

Overview

minimal interface to implement a customer collector

Direct Known Subclasses

Collector

Instance Method Summary collapse

Instance Method Details

#process(str) ⇒ Object

called each time a string is delivered from the web


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

def process(str)
end

#prometheus_metrics_text(str) ⇒ Object

a string denoting the metrics


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

def prometheus_metrics_text(str)
end