Class RegisteredView
- java.lang.Object
-
- io.opentelemetry.sdk.metrics.internal.view.RegisteredView
-
- Direct Known Subclasses:
AutoValue_RegisteredView
@Immutable public abstract class RegisteredView extends java.lang.Object
Internal representation of aView
andInstrumentSelector
.This class is internal and is hence not for public use. Its APIs are unstable and can change at any time.
-
-
Constructor Summary
Constructors Constructor Description RegisteredView()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static RegisteredView
create(InstrumentSelector selector, View view, AttributesProcessor viewAttributesProcessor, int cardinalityLimit, SourceInfo viewSourceInfo)
abstract int
getCardinalityLimit()
The view's cardinality limit.abstract InstrumentSelector
getInstrumentSelector()
Instrument filter for applying this view.abstract View
getView()
The view to apply.abstract AttributesProcessor
getViewAttributesProcessor()
The view'sAttributesProcessor
.abstract SourceInfo
getViewSourceInfo()
TheSourceInfo
from where the view was registered.java.lang.String
toString()
-
-
-
Method Detail
-
create
public static RegisteredView create(InstrumentSelector selector, View view, AttributesProcessor viewAttributesProcessor, int cardinalityLimit, SourceInfo viewSourceInfo)
-
getInstrumentSelector
public abstract InstrumentSelector getInstrumentSelector()
Instrument filter for applying this view.
-
getView
public abstract View getView()
The view to apply.
-
getViewAttributesProcessor
public abstract AttributesProcessor getViewAttributesProcessor()
The view'sAttributesProcessor
.
-
getCardinalityLimit
public abstract int getCardinalityLimit()
The view's cardinality limit.
-
getViewSourceInfo
public abstract SourceInfo getViewSourceInfo()
TheSourceInfo
from where the view was registered.
-
toString
public final java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-