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
7 8 |
# File 'lib/prometheus_exporter/server/collector_base.rb', line 7 def process(str) end |
#prometheus_metrics_text(str) ⇒ Object
a string denoting the metrics
11 12 |
# File 'lib/prometheus_exporter/server/collector_base.rb', line 11 def prometheus_metrics_text(str) end |