Class View

java.lang.Object
io.opentelemetry.sdk.metrics.view.View

@Immutable public abstract class View extends Object
TODO: javadoc.
  • Constructor Details

    • View

      public View()
  • Method Details

    • getName

      @Nullable public abstract String getName()
      The name of the resulting metric to generate, or null if the same as the instrument.
    • getDescription

      @Nullable public abstract String getDescription()
      The name of the resulting metric to generate, or null if the same as the instrument.
    • getAggregation

      public abstract Aggregation getAggregation()
      The aggregation used for this view.
    • getAttributesProcessor

      public abstract io.opentelemetry.sdk.metrics.internal.view.AttributesProcessor getAttributesProcessor()
      Processor of attributes before performing aggregation.
    • getSourceInfo

      public abstract io.opentelemetry.sdk.metrics.internal.debug.SourceInfo getSourceInfo()
      Information about where the View was defined.
    • builder

      public static ViewBuilder builder()