Class OtlpMetricExporterSettings
- java.lang.Object
-
- com.lightbend.cinnamon.opentelemetry.metrics.OtlpMetricExporterSettings
-
public final class OtlpMetricExporterSettings extends java.lang.Object
Configurable settings for OTLP-based metric exporters.
-
-
Field Summary
Fields Modifier and Type Field Description io.opentelemetry.sdk.metrics.export.AggregationTemporalitySelector
aggregationTemporalitySelector
OtlpExporterSettings
baseSettings
-
Constructor Summary
Constructors Constructor Description OtlpMetricExporterSettings(OtlpExporterSettings baseSettings, io.opentelemetry.sdk.metrics.export.AggregationTemporalitySelector aggregationTemporalitySelector)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OtlpMetricExporterSettings
fromConfig(com.typesafe.config.Config config, Logger log)
Create OTLP metric exporter settings from configuration.java.lang.String
toString()
-
-
-
Field Detail
-
baseSettings
public final OtlpExporterSettings baseSettings
-
aggregationTemporalitySelector
public final io.opentelemetry.sdk.metrics.export.AggregationTemporalitySelector aggregationTemporalitySelector
-
-
Constructor Detail
-
OtlpMetricExporterSettings
public OtlpMetricExporterSettings(OtlpExporterSettings baseSettings, io.opentelemetry.sdk.metrics.export.AggregationTemporalitySelector aggregationTemporalitySelector)
-
-
Method Detail
-
fromConfig
public static OtlpMetricExporterSettings fromConfig(com.typesafe.config.Config config, Logger log)
Create OTLP metric exporter settings from configuration.- Parameters:
config
- the exporter section Configlog
- the Cinnamon Logger- Returns:
- OTLP exporter settings from config
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-