Class ConsoleMetricExporterModel
java.lang.Object
io.opentelemetry.sdk.autoconfigure.declarativeconfig.model.ConsoleMetricExporterModel
@Generated("io.opentelemetry.gradle.DeclarativeConfigPojoGenerator")
public class ConsoleMetricExporterModel
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanConfigure default histogram aggregation.Configure temporality preference.inthashCode()toString()withDefaultHistogramAggregation(ExporterDefaultHistogramAggregationModel defaultHistogramAggregation) withTemporalityPreference(ExporterTemporalityPreferenceModel temporalityPreference)
-
Constructor Details
-
ConsoleMetricExporterModel
public ConsoleMetricExporterModel()
-
-
Method Details
-
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
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
-
hashCode
public int hashCode() -
equals
-