Method: Fluent::Plugin::PrometheusOutput#configure
- Defined in:
- lib/fluent/plugin/out_prometheus.rb
#configure(conf) ⇒ Object
19 20 21 22 23 |
# File 'lib/fluent/plugin/out_prometheus.rb', line 19 def configure(conf) super labels = parse_labels_elements(conf) @metrics = Fluent::Plugin::Prometheus.parse_metrics_elements(conf, @registry, labels) end |