Class PrometheusCollector
- java.lang.Object
-
- io.prometheus.client.Collector
-
- io.opentelemetry.exporter.prometheus.PrometheusCollector
-
public final class PrometheusCollector extends io.prometheus.client.Collector
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PrometheusCollectorBuilder
builder()
Returns a new builder instance for this exporter.List<io.prometheus.client.Collector.MetricFamilySamples>
collect()
-
-
-
Method Detail
-
collect
public List<io.prometheus.client.Collector.MetricFamilySamples> collect()
- Specified by:
collect
in classio.prometheus.client.Collector
-
builder
public static PrometheusCollectorBuilder builder()
Returns a new builder instance for this exporter.- Returns:
- a new builder instance for this exporter.
-
-