Uses of Enum
io.opentelemetry.sdk.metrics.InstrumentType
Packages that use InstrumentType
Package
Description
OpenTelemetry exporter which sends metric data to OpenTelemetry collector via OTLP HTTP.
OpenTelemetry exporter which sends metric data to OpenTelemetry collector via OTLP gRPC.
The SDK implementation of metrics.
Utilities that facilitate exporting metrics out of
SdkMeterProvider
.View related internal classes.
-
Uses of InstrumentType in io.opentelemetry.exporter.otlp.http.metrics
Methods in io.opentelemetry.exporter.otlp.http.metrics with parameters of type InstrumentTypeModifier and TypeMethodDescriptionOtlpHttpMetricExporter.getAggregationTemporality
(InstrumentType instrumentType) OtlpHttpMetricExporter.getDefaultAggregation
(InstrumentType instrumentType) -
Uses of InstrumentType in io.opentelemetry.exporter.otlp.metrics
Methods in io.opentelemetry.exporter.otlp.metrics with parameters of type InstrumentTypeModifier and TypeMethodDescriptionOtlpGrpcMetricExporter.getAggregationTemporality
(InstrumentType instrumentType) OtlpGrpcMetricExporter.getDefaultAggregation
(InstrumentType instrumentType) -
Uses of InstrumentType in io.opentelemetry.sdk.metrics
Fields in io.opentelemetry.sdk.metrics declared as InstrumentTypeModifier and TypeFieldDescriptionprivate final InstrumentType
AutoValue_InstrumentSelector.instrumentType
private InstrumentType
InstrumentSelectorBuilder.instrumentType
private InstrumentType
InstrumentBuilder.type
Methods in io.opentelemetry.sdk.metrics that return InstrumentTypeModifier and TypeMethodDescriptionAutoValue_InstrumentSelector.getInstrumentType()
abstract InstrumentType
InstrumentSelector.getInstrumentType()
Returns the selectedInstrumentType
, or null if this selects all instrument types.static InstrumentType
Returns the enum constant of this type with the specified name.static InstrumentType[]
InstrumentType.values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in io.opentelemetry.sdk.metrics with parameters of type InstrumentTypeModifier and TypeMethodDescription(package private) SdkObservableInstrument
InstrumentBuilder.buildDoubleAsynchronousInstrument
(InstrumentType type, Consumer<ObservableDoubleMeasurement> updater) (package private) SdkObservableInstrument
InstrumentBuilder.buildLongAsynchronousInstrument
(InstrumentType type, Consumer<ObservableLongMeasurement> updater) (package private) SdkObservableMeasurement
InstrumentBuilder.buildObservableMeasurement
(InstrumentType type) (package private) static InstrumentSelector
InstrumentSelector.create
(InstrumentType instrumentType, String instrumentName, String instrumentUnit, String meterName, String meterVersion, String meterSchemaUrl) InstrumentSelectorBuilder.setType
(InstrumentType instrumentType) Select instruments with the giveninstrumentType
.Constructors in io.opentelemetry.sdk.metrics with parameters of type InstrumentTypeModifierConstructorDescription(package private)
AutoValue_InstrumentSelector
(InstrumentType instrumentType, String instrumentName, String instrumentUnit, String meterName, String meterVersion, String meterSchemaUrl) (package private)
InstrumentBuilder
(String name, InstrumentType type, InstrumentValueType valueType, SdkMeter sdkMeter) -
Uses of InstrumentType in io.opentelemetry.sdk.metrics.export
Methods in io.opentelemetry.sdk.metrics.export with parameters of type InstrumentTypeModifier and TypeMethodDescriptionAggregationTemporalitySelector.getAggregationTemporality
(InstrumentType instrumentType) Return the aggregation temporality for theInstrumentType
.PeriodicMetricReader.getAggregationTemporality
(InstrumentType instrumentType) int
CardinalityLimitSelector.getCardinalityLimit
(InstrumentType instrumentType) Return the default cardinality limit for metrics from instruments of typeinstrumentType
.DefaultAggregationSelector.getDefaultAggregation
(InstrumentType instrumentType) Return the default aggregation for theInstrumentType
.default Aggregation
MetricExporter.getDefaultAggregation
(InstrumentType instrumentType) Return the default aggregation for theInstrumentType
.default Aggregation
MetricReader.getDefaultAggregation
(InstrumentType instrumentType) Return the default aggregation for theInstrumentType
.PeriodicMetricReader.getDefaultAggregation
(InstrumentType instrumentType) default DefaultAggregationSelector
DefaultAggregationSelector.with
(InstrumentType instrumentType, Aggregation aggregation) Returns a default aggregation selector which returns the givenaggregation
for the giveninstrumentType
, and defers to this for other instrument types. -
Uses of InstrumentType in io.opentelemetry.sdk.metrics.internal.descriptor
Fields in io.opentelemetry.sdk.metrics.internal.descriptor declared as InstrumentTypeModifier and TypeFieldDescriptionprivate final InstrumentType
AutoValue_InstrumentDescriptor.type
Methods in io.opentelemetry.sdk.metrics.internal.descriptor that return InstrumentTypeModifier and TypeMethodDescriptionAutoValue_InstrumentDescriptor.getType()
abstract InstrumentType
InstrumentDescriptor.getType()
Methods in io.opentelemetry.sdk.metrics.internal.descriptor with parameters of type InstrumentTypeModifier and TypeMethodDescriptionstatic InstrumentDescriptor
InstrumentDescriptor.create
(String name, String description, String unit, InstrumentType type, InstrumentValueType valueType, Advice advice) Constructors in io.opentelemetry.sdk.metrics.internal.descriptor with parameters of type InstrumentTypeModifierConstructorDescription(package private)
AutoValue_InstrumentDescriptor
(String name, String description, String unit, InstrumentType type, InstrumentValueType valueType, Advice advice) -
Uses of InstrumentType in io.opentelemetry.sdk.metrics.internal.view
Fields in io.opentelemetry.sdk.metrics.internal.view with type parameters of type InstrumentTypeModifier and TypeFieldDescriptionprivate final Map
<InstrumentType, RegisteredView> ViewRegistry.instrumentDefaultRegisteredView