Index
All Classes and Interfaces|All Packages
B
- builder() - Static method in class io.opentelemetry.exporter.prometheus.PrometheusHttpServer
-
Returns a new
PrometheusHttpServerBuilder
.
C
- close() - Method in class io.opentelemetry.exporter.prometheus.PrometheusHttpServer
- collect() - Method in class io.opentelemetry.exporter.prometheus.PrometheusCollector
-
Deprecated.
- create() - Static method in class io.opentelemetry.exporter.prometheus.PrometheusCollector
-
Deprecated.Returns a new collector to be registered with a
SdkMeterProviderBuilder
.
F
- flush() - Method in class io.opentelemetry.exporter.prometheus.PrometheusCollector
-
Deprecated.
- flush() - Method in class io.opentelemetry.exporter.prometheus.PrometheusHttpServer
G
- getPreferredTemporality() - Method in class io.opentelemetry.exporter.prometheus.PrometheusCollector
-
Deprecated.
- getPreferredTemporality() - Method in class io.opentelemetry.exporter.prometheus.PrometheusHttpServer
I
- io.opentelemetry.exporter.prometheus - package io.opentelemetry.exporter.prometheus
N
- newMetricReaderFactory() - Static method in class io.opentelemetry.exporter.prometheus.PrometheusHttpServer
-
Returns a new
MetricReaderFactory
which can be registered to anSdkMeterProvider
to expose Prometheus metrics on port 9464. - newMetricReaderFactory() - Method in class io.opentelemetry.exporter.prometheus.PrometheusHttpServerBuilder
-
Returns a new
MetricReaderFactory
with the configuration of this builder which can be registered with aSdkMeterProvider
.
P
- PrometheusCollector - Class in io.opentelemetry.exporter.prometheus
-
Deprecated.
- PrometheusHttpServer - Class in io.opentelemetry.exporter.prometheus
-
A
MetricExporter
that starts an HTTP server that will collect metrics and serialize to Prometheus text format on request. - PrometheusHttpServerBuilder - Class in io.opentelemetry.exporter.prometheus
-
A builder for
PrometheusHttpServer
.
R
- register() - Method in class io.opentelemetry.exporter.prometheus.PrometheusCollector
-
Deprecated.This method is called in
MetricReaderFactory.apply(MetricProducer)
.
S
- setHost(String) - Method in class io.opentelemetry.exporter.prometheus.PrometheusHttpServerBuilder
-
Sets the host to bind to.
- setPort(int) - Method in class io.opentelemetry.exporter.prometheus.PrometheusHttpServerBuilder
-
Sets the port to bind to.
- shutdown() - Method in class io.opentelemetry.exporter.prometheus.PrometheusCollector
-
Deprecated.
- shutdown() - Method in class io.opentelemetry.exporter.prometheus.PrometheusHttpServer
All Classes and Interfaces|All Packages
PrometheusHttpServer
to expose OpenTelemetry metrics as a Prometheus HTTP endpoint. If you generate metrics with Micrometer in addition to OpenTelemetry, also use Micrometer OpenTelemetry Integration to export Micrometer metrics together. If your use case is not handled by these, please file an issue to let us know.