Class: PrometheusExporter::Server::CollectorBase
- Inherits:
-
Object
- Object
- PrometheusExporter::Server::CollectorBase
- Defined in:
- lib/prometheus_exporter/server/collector_base.rb
Overview
minimal interface to implement a customer collector
Direct Known Subclasses
Instance Method Summary collapse
-
#process(str) ⇒ Object
called each time a string is delivered from the web.
-
#prometheus_metrics_text(str) ⇒ Object
a string denoting the metrics.
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 |