Class OtlpMetricExporterSettings


  • public final class OtlpMetricExporterSettings
    extends java.lang.Object
    Configurable settings for OTLP-based metric exporters.
    • Field Detail

      • 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 Config
        log - the Cinnamon Logger
        Returns:
        OTLP exporter settings from config
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object