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 RegisteredView
create
(InstrumentSelector selector, View view, AttributesProcessor viewAttributesProcessor, int cardinalityLimit, SourceInfo viewSourceInfo) abstract int
The view's cardinality limit.abstract InstrumentSelector
Instrument filter for applying this view.abstract View
getView()
The view to apply.abstract AttributesProcessor
The view'sAttributesProcessor
.abstract SourceInfo
TheSourceInfo
from where the view was registered.final String
toString()
-
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
TheSourceInfo
from where the view was registered. -
toString
-