Interface ExtendedLongCounterBuilder

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

public interface ExtendedLongCounterBuilder extends io.opentelemetry.api.metrics.LongCounterBuilder
Extended LongCounterBuilder 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 counter.

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

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

    • setAttributesAdvice

      default ExtendedLongCounterBuilder 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 counter.