Class LoggingMetricExporter
- java.lang.Object
-
- com.lightbend.cinnamon.opentelemetry.metrics.OpenTelemetryMetricExporter
-
- com.lightbend.cinnamon.opentelemetry.metrics.LoggingMetricExporter
-
public class LoggingMetricExporter extends OpenTelemetryMetricExporter
Configurable OpenTelemetry metric exporter for logging export.
-
-
Constructor Summary
Constructors Constructor Description LoggingMetricExporter(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
-
LoggingMetricExporter
public LoggingMetricExporter(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
-
-