Class View

    • Constructor Detail

      • View

        View()
    • Method Detail

      • create

        static View create​(@Nullable
                           java.lang.String name,
                           @Nullable
                           java.lang.String description,
                           Aggregation aggregation,
                           AttributesProcessor attributesProcessor,
                           int cardinalityLimit)
      • getName

        @Nullable
        public abstract java.lang.String getName()
        Returns the name of the resulting metric, or null if the matched instrument name should be used.
      • getDescription

        @Nullable
        public abstract java.lang.String getDescription()
        Returns the description of the resulting metric, or null if the matched instrument description should be used.
      • getAggregation

        public abstract Aggregation getAggregation()
        Returns the aggregation of the resulting metric.
      • getAttributesProcessor

        abstract AttributesProcessor getAttributesProcessor()
        Returns the attribute processor used for this view.
      • getCardinalityLimit

        public abstract int getCardinalityLimit()
        Returns the cardinality limit for this view.
        Since:
        1.44.0
      • toString

        public final java.lang.String toString()
        Overrides:
        toString in class java.lang.Object