Interface ExtendedDoubleHistogramBuilder

All Superinterfaces:
io.opentelemetry.api.metrics.DoubleHistogramBuilder

public interface ExtendedDoubleHistogramBuilder extends io.opentelemetry.api.metrics.DoubleHistogramBuilder
Extended DoubleHistogramBuilder with experimental APIs.
  • Method Summary

    Modifier and Type
    Method
    Description
    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.

    Methods inherited from interface io.opentelemetry.api.metrics.DoubleHistogramBuilder

    build, ofLongs, setDescription, setExplicitBucketBoundariesAdvice, setUnit
  • Method Details

    • setAttributesAdvice

      default ExtendedDoubleHistogramBuilder 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.