Package io.opentelemetry.sdk.metrics
Class ExplicitBucketHistogramOptions
java.lang.Object
io.opentelemetry.sdk.metrics.ExplicitBucketHistogramOptions
Options for configuring explicit bucket histogram aggregations.
- Since:
- 1.60.0
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Returns a newExplicitBucketHistogramOptions.BuilderforExplicitBucketHistogramOptions.Returns the bucket boundaries, ornullif the default OTel bucket boundaries should be used.Returns the defaultExplicitBucketHistogramOptions.abstract booleanReturns whether min and max values should be recorded.Returns aExplicitBucketHistogramOptions.Builderinitialized to the same property values as the current instance.
-
Method Details
-
getDefault
Returns the defaultExplicitBucketHistogramOptions. -
builder
Returns a newExplicitBucketHistogramOptions.BuilderforExplicitBucketHistogramOptions. -
toBuilder
Returns aExplicitBucketHistogramOptions.Builderinitialized to the same property values as the current instance. -
getBucketBoundaries
Returns the bucket boundaries, ornullif the default OTel bucket boundaries should be used. -
getRecordMinMax
public abstract boolean getRecordMinMax()Returns whether min and max values should be recorded. Defaults totrue.
-