Interface ExtendedLongHistogramBuilder
- All Superinterfaces:
io.opentelemetry.api.metrics.LongHistogramBuilder
public interface ExtendedLongHistogramBuilder
extends io.opentelemetry.api.metrics.LongHistogramBuilder
Extended
LongHistogramBuilder with experimental APIs.-
Method Summary
Modifier and TypeMethodDescriptiondefault ExtendedLongHistogramBuildersetAttributesAdvice(List<io.opentelemetry.api.common.AttributeKey<?>> attributes) Specify the attribute advice, which suggests the recommended set of attribute keys to be used for this histogram.default ExtendedLongHistogramBuildersetExplicitBucketBoundariesAdvice(List<Long> bucketBoundaries) Specify the explicit bucket buckets boundaries advice, which suggests the recommended set of explicit bucket boundaries for this histogram.Methods inherited from interface io.opentelemetry.api.metrics.LongHistogramBuilder
build, setDescription, setUnit
-
Method Details
-
setExplicitBucketBoundariesAdvice
Specify the explicit bucket buckets boundaries advice, which suggests the recommended set of explicit bucket boundaries for this histogram. -
setAttributesAdvice
default ExtendedLongHistogramBuilder setAttributesAdvice(List<io.opentelemetry.api.common.AttributeKey<?>> attributes) Specify the attribute advice, which suggests the recommended set of attribute keys to be used for this histogram.
-