Class ConsoleMetricExporterModel

java.lang.Object
io.opentelemetry.sdk.autoconfigure.declarativeconfig.model.ConsoleMetricExporterModel

@Generated("io.opentelemetry.gradle.DeclarativeConfigPojoGenerator") public class ConsoleMetricExporterModel extends Object
  • Constructor Details

    • ConsoleMetricExporterModel

      public ConsoleMetricExporterModel()
  • Method Details

    • getTemporalityPreference

      @Nullable public ExporterTemporalityPreferenceModel getTemporalityPreference()
      Configure temporality preference.

      Values include:

      * cumulative: Use cumulative aggregation temporality for all instrument types.

      * delta: Use delta aggregation for all instrument types except up down counter and asynchronous up down counter.

      * low_memory: Use delta aggregation temporality for counter and histogram instrument types. Use cumulative aggregation temporality for all other instrument types.

      If omitted, cumulative is used.

    • withTemporalityPreference

      public ConsoleMetricExporterModel withTemporalityPreference(ExporterTemporalityPreferenceModel temporalityPreference)
    • getDefaultHistogramAggregation

      @Nullable public ExporterDefaultHistogramAggregationModel getDefaultHistogramAggregation()
      Configure default histogram aggregation.

      Values include:

      * base2_exponential_bucket_histogram: Use base2 exponential histogram as the default aggregation for histogram instruments.

      * explicit_bucket_histogram: Use explicit bucket histogram as the default aggregation for histogram instruments.

      If omitted, explicit_bucket_histogram is used.

    • withDefaultHistogramAggregation

      public ConsoleMetricExporterModel withDefaultHistogramAggregation(ExporterDefaultHistogramAggregationModel defaultHistogramAggregation)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class Object