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.ObjectInternal representation of aViewandInstrumentSelector.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 RegisteredViewcreate(InstrumentSelector selector, View view, AttributesProcessor viewAttributesProcessor, int cardinalityLimit, SourceInfo viewSourceInfo)abstract intgetCardinalityLimit()The view's cardinality limit.abstract InstrumentSelectorgetInstrumentSelector()Instrument filter for applying this view.abstract ViewgetView()The view to apply.abstract AttributesProcessorgetViewAttributesProcessor()The view'sAttributesProcessor.abstract SourceInfogetViewSourceInfo()TheSourceInfofrom where the view was registered.java.lang.StringtoString()
-
-
-
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()
TheSourceInfofrom where the view was registered.
-
toString
public final java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-