Class View
- java.lang.Object
-
- io.opentelemetry.sdk.metrics.view.View
-
@Immutable public abstract class View extends Object
TODO: javadoc.
-
-
Constructor Summary
Constructors Constructor Description View()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static ViewBuilderbuilder()abstract AggregationgetAggregation()The aggregation used for this view.abstract io.opentelemetry.sdk.metrics.internal.view.AttributesProcessorgetAttributesProcessor()Processor of attributes before performing aggregation.abstract StringgetDescription()The name of the resulting metric to generate, ornullif the same as the instrument.abstract StringgetName()The name of the resulting metric to generate, ornullif the same as the instrument.
-
-
-
Method Detail
-
getName
@Nullable public abstract String getName()
The name of the resulting metric to generate, ornullif the same as the instrument.
-
getDescription
@Nullable public abstract String getDescription()
The name of the resulting metric to generate, ornullif 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.
-
builder
public static ViewBuilder builder()
-
-