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 Aggregation
private final AttributesProcessor
private final int
private final String
private final String
-
Constructor Summary
ConstructorsConstructorDescriptionAutoValue_View
(String name, String description, Aggregation aggregation, AttributesProcessor attributesProcessor, int cardinalityLimit) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the aggregation of the resulting metric.(package private) AttributesProcessor
Returns the attribute processor used for this view.int
Returns the cardinality limit for this view.Returns the description of the resulting metric, ornull
if the matched instrument description should be used.getName()
Returns the name of the resulting metric, ornull
if the matched instrument name should be used.int
hashCode()
-
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:View
Returns the name of the resulting metric, ornull
if the matched instrument name should be used. -
getDescription
Description copied from class:View
Returns the description of the resulting metric, ornull
if the matched instrument description should be used.- Specified by:
getDescription
in classView
-
getAggregation
Description copied from class:View
Returns the aggregation of the resulting metric.- Specified by:
getAggregation
in classView
-
getAttributesProcessor
AttributesProcessor getAttributesProcessor()Description copied from class:View
Returns the attribute processor used for this view.- Specified by:
getAttributesProcessor
in classView
-
getCardinalityLimit
public int getCardinalityLimit()Description copied from class:View
Returns the cardinality limit for this view.- Specified by:
getCardinalityLimit
in classView
-
equals
-
hashCode
public int hashCode()
-