Interface OtlpExporterMetricsConfig

All Superinterfaces:
OtlpExporterConfig

public interface OtlpExporterMetricsConfig extends OtlpExporterConfig
  • Method Details

    • temporalityPreference

      @WithDefault("cumulative") Optional<String> temporalityPreference()
      The preferred output aggregation temporality. Options include DELTA, LOWMEMORY, and CUMULATIVE.

      If CUMULATIVE, all instruments will have cumulative temporality. If DELTA, counter (sync and async) and histograms will be delta, up down counters (sync and async) will be cumulative. If LOWMEMORY, sync counter and histograms will be delta, async counter and up down counters (sync and async) will be cumulative.

      Default is CUMULATIVE.

    • defaultHistogramAggregation

      @WithDefault("explicit_bucket_histogram") Optional<String> defaultHistogramAggregation()
      The preferred default histogram aggregation.

      Options include BASE2_EXPONENTIAL_BUCKET_HISTOGRAM and EXPLICIT_BUCKET_HISTOGRAM.

      Default is EXPLICIT_BUCKET_HISTOGRAM.