Class RegisteredView
java.lang.Object
io.opentelemetry.sdk.metrics.internal.view.RegisteredView
- Direct Known Subclasses:
AutoValue_RegisteredView
Internal representation of a
View and InstrumentSelector.
This class is internal and is hence not for public use. Its APIs are unstable and can change at any time.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RegisteredViewcreate(InstrumentSelector selector, View view, AttributesProcessor viewAttributesProcessor, int cardinalityLimit, SourceInfo viewSourceInfo) abstract intThe view's cardinality limit.abstract InstrumentSelectorInstrument filter for applying this view.abstract ViewgetView()The view to apply.abstract AttributesProcessorThe view'sAttributesProcessor.abstract SourceInfoTheSourceInfofrom where the view was registered.final StringtoString()
-
Constructor Details
-
RegisteredView
RegisteredView()
-
-
Method Details
-
create
public static RegisteredView create(InstrumentSelector selector, View view, AttributesProcessor viewAttributesProcessor, int cardinalityLimit, SourceInfo viewSourceInfo) -
getInstrumentSelector
Instrument filter for applying this view. -
getView
The view to apply. -
getViewAttributesProcessor
The view'sAttributesProcessor. -
getCardinalityLimit
public abstract int getCardinalityLimit()The view's cardinality limit. -
getViewSourceInfo
TheSourceInfofrom where the view was registered. -
toString
-