Interface ExtendedLongGaugeBuilder

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

public interface ExtendedLongGaugeBuilder extends io.opentelemetry.api.metrics.LongGaugeBuilder
Extended LongGaugeBuilder 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 gauge.

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

    build, buildObserver, buildWithCallback, setDescription, setUnit
  • Method Details

    • setAttributesAdvice

      default ExtendedLongGaugeBuilder 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 gauge.