Uses of Class
io.opentelemetry.sdk.metrics.internal.descriptor.InstrumentDescriptor
-
Packages that use InstrumentDescriptor Package Description io.opentelemetry.sdk.metrics The SDK implementation of metrics.io.opentelemetry.sdk.metrics.internal.aggregator Metric aggregators.io.opentelemetry.sdk.metrics.internal.descriptor io.opentelemetry.sdk.metrics.internal.state io.opentelemetry.sdk.metrics.internal.view View related internal classes. -
-
Uses of InstrumentDescriptor in io.opentelemetry.sdk.metrics
Fields in io.opentelemetry.sdk.metrics declared as InstrumentDescriptor Modifier and Type Field Description private InstrumentDescriptor
AbstractInstrument. descriptor
Methods in io.opentelemetry.sdk.metrics that return InstrumentDescriptor Modifier and Type Method Description (package private) InstrumentDescriptor
AbstractInstrument. getDescriptor()
private InstrumentDescriptor
InstrumentBuilder. newDescriptor()
Methods in io.opentelemetry.sdk.metrics with parameters of type InstrumentDescriptor Modifier and Type Method Description I
InstrumentBuilder.SynchronousInstrumentConstructor. createInstrument(InstrumentDescriptor instrumentDescriptor, SdkMeter sdkMeter, WriteableMetricStorage storage)
(package private) SdkObservableMeasurement
SdkMeter. registerObservableMeasurement(InstrumentDescriptor instrumentDescriptor)
Register new asynchronous storage associated with a given instrument.(package private) WriteableMetricStorage
SdkMeter. registerSynchronousMetricStorage(InstrumentDescriptor instrument)
Registers new synchronous storage associated with a given instrument.Constructors in io.opentelemetry.sdk.metrics with parameters of type InstrumentDescriptor Constructor Description AbstractInstrument(InstrumentDescriptor descriptor)
SdkDoubleCounter(InstrumentDescriptor descriptor, SdkMeter sdkMeter, WriteableMetricStorage storage)
SdkDoubleGauge(InstrumentDescriptor descriptor, SdkMeter sdkMeter, WriteableMetricStorage storage)
SdkDoubleHistogram(InstrumentDescriptor descriptor, SdkMeter sdkMeter, WriteableMetricStorage storage)
SdkDoubleUpDownCounter(InstrumentDescriptor descriptor, SdkMeter sdkMeter, WriteableMetricStorage storage)
SdkLongCounter(InstrumentDescriptor descriptor, SdkMeter sdkMeter, WriteableMetricStorage storage)
SdkLongGauge(InstrumentDescriptor descriptor, SdkMeter sdkMeter, WriteableMetricStorage storage)
SdkLongHistogram(InstrumentDescriptor descriptor, SdkMeter sdkMeter, WriteableMetricStorage storage)
SdkLongUpDownCounter(InstrumentDescriptor descriptor, SdkMeter sdkMeter, WriteableMetricStorage storage)
-
Uses of InstrumentDescriptor in io.opentelemetry.sdk.metrics.internal.aggregator
Methods in io.opentelemetry.sdk.metrics.internal.aggregator with parameters of type InstrumentDescriptor Modifier and Type Method Description <T extends PointData,U extends ExemplarData>
Aggregator<T,U>AggregatorFactory. createAggregator(InstrumentDescriptor instrumentDescriptor, ExemplarFilter exemplarFilter, MemoryMode memoryMode)
Returns a newAggregator
.boolean
AggregatorFactory. isCompatibleWithInstrument(InstrumentDescriptor instrumentDescriptor)
Determine if theAggregator
produced byAggregatorFactory.createAggregator(InstrumentDescriptor, ExemplarFilter, MemoryMode)
is compatible with theinstrumentDescriptor
.private static boolean
AbstractSumAggregator. isMonotonicInstrument(InstrumentDescriptor descriptor)
Returns true if the instrument does not allow negative measurements.Constructors in io.opentelemetry.sdk.metrics.internal.aggregator with parameters of type InstrumentDescriptor Constructor Description AbstractSumAggregator(InstrumentDescriptor instrumentDescriptor)
DoubleSumAggregator(InstrumentDescriptor instrumentDescriptor, java.util.function.Supplier<ExemplarReservoir<DoubleExemplarData>> reservoirSupplier, MemoryMode memoryMode)
Constructs a sum aggregator.LongSumAggregator(InstrumentDescriptor instrumentDescriptor, java.util.function.Supplier<ExemplarReservoir<LongExemplarData>> reservoirSupplier, MemoryMode memoryMode)
-
Uses of InstrumentDescriptor in io.opentelemetry.sdk.metrics.internal.descriptor
Subclasses of InstrumentDescriptor in io.opentelemetry.sdk.metrics.internal.descriptor Modifier and Type Class Description (package private) class
AutoValue_InstrumentDescriptor
Fields in io.opentelemetry.sdk.metrics.internal.descriptor declared as InstrumentDescriptor Modifier and Type Field Description private InstrumentDescriptor
AutoValue_MetricDescriptor. sourceInstrument
Methods in io.opentelemetry.sdk.metrics.internal.descriptor that return InstrumentDescriptor Modifier and Type Method Description static InstrumentDescriptor
InstrumentDescriptor. create(java.lang.String name, java.lang.String description, java.lang.String unit, InstrumentType type, InstrumentValueType valueType, Advice advice)
InstrumentDescriptor
AutoValue_MetricDescriptor. getSourceInstrument()
abstract InstrumentDescriptor
MetricDescriptor. getSourceInstrument()
The instrument which lead to the creation of this metric.Methods in io.opentelemetry.sdk.metrics.internal.descriptor with parameters of type InstrumentDescriptor Modifier and Type Method Description static MetricDescriptor
MetricDescriptor. create(View view, SourceInfo viewSourceInfo, InstrumentDescriptor instrument)
Constructs a metric descriptor for a given View + instrument.Constructors in io.opentelemetry.sdk.metrics.internal.descriptor with parameters of type InstrumentDescriptor Constructor Description AutoValue_MetricDescriptor(java.lang.String name, java.lang.String description, View view, InstrumentDescriptor sourceInstrument)
-
Uses of InstrumentDescriptor in io.opentelemetry.sdk.metrics.internal.state
Fields in io.opentelemetry.sdk.metrics.internal.state declared as InstrumentDescriptor Modifier and Type Field Description private InstrumentDescriptor
SdkObservableMeasurement. instrumentDescriptor
Fields in io.opentelemetry.sdk.metrics.internal.state with type parameters of type InstrumentDescriptor Modifier and Type Field Description private java.util.List<InstrumentDescriptor>
CallbackRegistration. instrumentDescriptors
Methods in io.opentelemetry.sdk.metrics.internal.state that return InstrumentDescriptor Modifier and Type Method Description (package private) InstrumentDescriptor
SdkObservableMeasurement. getInstrumentDescriptor()
Methods in io.opentelemetry.sdk.metrics.internal.state with parameters of type InstrumentDescriptor Modifier and Type Method Description static <T extends PointData,U extends ExemplarData>
AsynchronousMetricStorage<T,U>AsynchronousMetricStorage. create(RegisteredReader registeredReader, RegisteredView registeredView, InstrumentDescriptor instrumentDescriptor)
Create an asynchronous storage instance for theView
andInstrumentDescriptor
.static SdkObservableMeasurement
SdkObservableMeasurement. create(InstrumentationScopeInfo instrumentationScopeInfo, InstrumentDescriptor instrumentDescriptor, java.util.List<AsynchronousMetricStorage<?,?>> storages)
Create aSdkObservableMeasurement
.static <T extends PointData,U extends ExemplarData>
SynchronousMetricStorageSynchronousMetricStorage. create(RegisteredReader registeredReader, RegisteredView registeredView, InstrumentDescriptor instrumentDescriptor, ExemplarFilter exemplarFilter)
Constructs metric storage for a given synchronous instrument and view.Constructors in io.opentelemetry.sdk.metrics.internal.state with parameters of type InstrumentDescriptor Constructor Description SdkObservableMeasurement(InstrumentationScopeInfo instrumentationScopeInfo, InstrumentDescriptor instrumentDescriptor, java.util.List<AsynchronousMetricStorage<?,?>> storages)
-
Uses of InstrumentDescriptor in io.opentelemetry.sdk.metrics.internal.view
Methods in io.opentelemetry.sdk.metrics.internal.view with parameters of type InstrumentDescriptor Modifier and Type Method Description <T extends PointData,U extends ExemplarData>
Aggregator<T,U>Base2ExponentialHistogramAggregation. createAggregator(InstrumentDescriptor instrumentDescriptor, ExemplarFilter exemplarFilter, MemoryMode memoryMode)
<T extends PointData,U extends ExemplarData>
Aggregator<T,U>DefaultAggregation. createAggregator(InstrumentDescriptor instrumentDescriptor, ExemplarFilter exemplarFilter, MemoryMode memoryMode)
<T extends PointData,U extends ExemplarData>
Aggregator<T,U>DropAggregation. createAggregator(InstrumentDescriptor instrumentDescriptor, ExemplarFilter exemplarFilter, MemoryMode memoryMode)
<T extends PointData,U extends ExemplarData>
Aggregator<T,U>ExplicitBucketHistogramAggregation. createAggregator(InstrumentDescriptor instrumentDescriptor, ExemplarFilter exemplarFilter, MemoryMode memoryMode)
<T extends PointData,U extends ExemplarData>
Aggregator<T,U>LastValueAggregation. createAggregator(InstrumentDescriptor instrumentDescriptor, ExemplarFilter exemplarFilter, MemoryMode memoryMode)
<T extends PointData,U extends ExemplarData>
Aggregator<T,U>SumAggregation. createAggregator(InstrumentDescriptor instrumentDescriptor, ExemplarFilter exemplarFilter, MemoryMode memoryMode)
java.util.List<RegisteredView>
ViewRegistry. findViews(InstrumentDescriptor descriptor, InstrumentationScopeInfo meterScope)
Returns the metricView
for a given instrument.boolean
Base2ExponentialHistogramAggregation. isCompatibleWithInstrument(InstrumentDescriptor instrumentDescriptor)
boolean
DefaultAggregation. isCompatibleWithInstrument(InstrumentDescriptor instrumentDescriptor)
boolean
DropAggregation. isCompatibleWithInstrument(InstrumentDescriptor instrumentDescriptor)
boolean
ExplicitBucketHistogramAggregation. isCompatibleWithInstrument(InstrumentDescriptor instrumentDescriptor)
boolean
LastValueAggregation. isCompatibleWithInstrument(InstrumentDescriptor instrumentDescriptor)
boolean
SumAggregation. isCompatibleWithInstrument(InstrumentDescriptor instrumentDescriptor)
private static boolean
ViewRegistry. matchesSelector(InstrumentSelector selector, InstrumentDescriptor descriptor, InstrumentationScopeInfo meterScope)
private static Aggregation
DefaultAggregation. resolve(InstrumentDescriptor instrument, boolean withAdvice)
-