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