Package io.opentelemetry.sdk.metrics
Class AutoValue_View
java.lang.Object
io.opentelemetry.sdk.metrics.View
io.opentelemetry.sdk.metrics.AutoValue_View
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Aggregationprivate final AttributesProcessorprivate final intprivate final Stringprivate final String -
Constructor Summary
ConstructorsConstructorDescriptionAutoValue_View(String name, String description, Aggregation aggregation, AttributesProcessor attributesProcessor, int cardinalityLimit) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the aggregation of the resulting metric.(package private) AttributesProcessorReturns the attribute processor used for this view.intReturns the cardinality limit for this view.Returns the description of the resulting metric, ornullif the matched instrument description should be used.getName()Returns the name of the resulting metric, ornullif the matched instrument name should be used.inthashCode()
-
Field Details
-
name
-
description
-
aggregation
-
attributesProcessor
-
cardinalityLimit
private final int cardinalityLimit
-
-
Constructor Details
-
AutoValue_View
AutoValue_View(@Nullable String name, @Nullable String description, Aggregation aggregation, AttributesProcessor attributesProcessor, int cardinalityLimit)
-
-
Method Details
-
getName
Description copied from class:ViewReturns the name of the resulting metric, ornullif the matched instrument name should be used. -
getDescription
Description copied from class:ViewReturns the description of the resulting metric, ornullif the matched instrument description should be used.- Specified by:
getDescriptionin classView
-
getAggregation
Description copied from class:ViewReturns the aggregation of the resulting metric.- Specified by:
getAggregationin classView
-
getAttributesProcessor
AttributesProcessor getAttributesProcessor()Description copied from class:ViewReturns the attribute processor used for this view.- Specified by:
getAttributesProcessorin classView
-
getCardinalityLimit
public int getCardinalityLimit()Description copied from class:ViewReturns the cardinality limit for this view.- Specified by:
getCardinalityLimitin classView
-
equals
-
hashCode
public int hashCode()
-