@PublicEvolving public class PrometheusReporter extends AbstractPrometheusReporter
MetricReporter
that exports Metrics
via Prometheus.log
Constructor and Description |
---|
PrometheusReporter() |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes this reporter.
|
void |
open(MetricConfig config)
Configures this reporter.
|
notifyOfAddedMetric, notifyOfRemovedMetric
public void open(MetricConfig config)
MetricReporter
This method is always called first on a newly instantiated reporter.
config
- A properties object that contains all parameters set for this reporter.public void close()
MetricReporter
close
in interface MetricReporter
close
in class AbstractPrometheusReporter
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.