Package io.opentelemetry.sdk.metrics
Class Base2ExponentialHistogramOptions
java.lang.Object
io.opentelemetry.sdk.metrics.Base2ExponentialHistogramOptions
Options for configuring base-2 exponential histogram aggregations.
- Since:
- 1.60.0
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Returns a newBase2ExponentialHistogramOptions.BuilderforBase2ExponentialHistogramOptions.Returns the defaultBase2ExponentialHistogramOptions.abstract intReturns the max number of positive and negative buckets.abstract intReturns the maximum and initial scale.abstract booleanReturns whether min and max values should be recorded.Returns aBase2ExponentialHistogramOptions.Builderinitialized to the same property values as the current instance.
-
Method Details
-
getDefault
Returns the defaultBase2ExponentialHistogramOptions. -
builder
Returns a newBase2ExponentialHistogramOptions.BuilderforBase2ExponentialHistogramOptions. -
toBuilder
Returns aBase2ExponentialHistogramOptions.Builderinitialized to the same property values as the current instance. -
getMaxBuckets
public abstract int getMaxBuckets()Returns the max number of positive and negative buckets. Defaults to 160. -
getMaxScale
public abstract int getMaxScale()Returns the maximum and initial scale. Defaults to 20. -
getRecordMinMax
public abstract boolean getRecordMinMax()Returns whether min and max values should be recorded. Defaults totrue.
-