Class HttpMetricExporter
- java.lang.Object
-
- com.lightbend.cinnamon.opentelemetry.metrics.OpenTelemetryMetricExporter
-
- com.lightbend.cinnamon.opentelemetry.metrics.HttpMetricExporter
-
public final class HttpMetricExporter extends OpenTelemetryMetricExporter
Configurable OpenTelemetry metric exporter for OTLP via HTTP export.
-
-
Constructor Summary
Constructors Constructor Description HttpMetricExporter(com.typesafe.config.Config config, LoggingProvider logging)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.opentelemetry.sdk.metrics.export.MetricReader
createMetricReader()
Create the metric reader for exporting OpenTelemetry metrics.
-
-
-
Constructor Detail
-
HttpMetricExporter
public HttpMetricExporter(com.typesafe.config.Config config, LoggingProvider logging)
-
-
Method Detail
-
createMetricReader
public io.opentelemetry.sdk.metrics.export.MetricReader createMetricReader()
Description copied from class:OpenTelemetryMetricExporter
Create the metric reader for exporting OpenTelemetry metrics.- Specified by:
createMetricReader
in classOpenTelemetryMetricExporter
- Returns:
- metric reader for exporting metrics
-
-