class PrometheusExporter::Server::CollectorBase
minimal interface to implement a customer collector
Public Instance Methods
process(str)
click to toggle source
called each time a string is delivered from the web
# File lib/prometheus_exporter/server/collector_base.rb, line 9 def process(str) end
prometheus_metrics_text(str)
click to toggle source
a string denoting the metrics
# File lib/prometheus_exporter/server/collector_base.rb, line 13 def prometheus_metrics_text(str) end