Uses of Class
io.opentelemetry.sdk.common.InstrumentationScopeInfo
-
Packages that use InstrumentationScopeInfo Package Description io.opentelemetry.exporter.internal.marshal Marshaling framework for serializing data to protobuf format.io.opentelemetry.exporter.internal.otlp Utilities for working with the OTLP format.io.opentelemetry.exporter.internal.otlp.logs Marshaling of OTLP logs.io.opentelemetry.exporter.internal.otlp.metrics Marshaling of OTLP metrics.io.opentelemetry.exporter.internal.otlp.traces Marshaling of OTLP traces.io.opentelemetry.sdk.common Common utilities used by all SDK components.io.opentelemetry.sdk.internal Interfaces and implementations that are internal to OpenTelemetry.io.opentelemetry.sdk.logs The OpenTelemetry SDK implementation of logging.io.opentelemetry.sdk.logs.data The data format to model logs for export.io.opentelemetry.sdk.logs.internal io.opentelemetry.sdk.metrics The SDK implementation of metrics.io.opentelemetry.sdk.metrics.data Classes which form the in-memory representation of the OpenTelemetry metrics data model.io.opentelemetry.sdk.metrics.internal Internal SDK implementation classes.io.opentelemetry.sdk.metrics.internal.aggregator Metric aggregators.io.opentelemetry.sdk.metrics.internal.data The data format to model metrics for export.io.opentelemetry.sdk.metrics.internal.state io.opentelemetry.sdk.metrics.internal.view View related internal classes.io.opentelemetry.sdk.trace The OpenTelemetry SDK implementation of tracing.io.opentelemetry.sdk.trace.data The data format to model traces for export.io.opentelemetry.sdk.trace.internal -
-
Uses of InstrumentationScopeInfo in io.opentelemetry.exporter.internal.marshal
Fields in io.opentelemetry.exporter.internal.marshal with type parameters of type InstrumentationScopeInfo Modifier and Type Field Description private java.util.function.Function<T,InstrumentationScopeInfo>
StatelessMarshalerUtil.Grouper. getInstrumentationScope
private java.util.Map<Resource,java.util.Map<InstrumentationScopeInfo,java.util.List<T>>>
StatelessMarshalerUtil.Grouper. result
Methods in io.opentelemetry.exporter.internal.marshal that return types with arguments of type InstrumentationScopeInfo Modifier and Type Method Description static <T,U>
java.util.Map<Resource,java.util.Map<InstrumentationScopeInfo,java.util.List<U>>>MarshalerUtil. groupByResourceAndScope(java.util.Collection<T> dataList, java.util.function.Function<T,Resource> getResource, java.util.function.Function<T,InstrumentationScopeInfo> getInstrumentationScope, java.util.function.Function<T,U> createMarshaler)
Groups SDK items by resource and instrumentation scope.static <T> java.util.Map<Resource,java.util.Map<InstrumentationScopeInfo,java.util.List<T>>>
StatelessMarshalerUtil. groupByResourceAndScope(java.util.Collection<T> dataList, java.util.function.Function<T,Resource> getResource, java.util.function.Function<T,InstrumentationScopeInfo> getInstrumentationScope, MarshalerContext context)
Groups SDK items by resource and instrumentation scope.Method parameters in io.opentelemetry.exporter.internal.marshal with type arguments of type InstrumentationScopeInfo Modifier and Type Method Description (package private) void
StatelessMarshalerUtil.Grouper. initialize(java.util.Map<Resource,java.util.Map<InstrumentationScopeInfo,java.util.List<T>>> result, java.util.function.Function<T,Resource> getResource, java.util.function.Function<T,InstrumentationScopeInfo> getInstrumentationScope, MarshalerContext context)
-
Uses of InstrumentationScopeInfo in io.opentelemetry.exporter.internal.otlp
Fields in io.opentelemetry.exporter.internal.otlp with type parameters of type InstrumentationScopeInfo Modifier and Type Field Description private static WeakConcurrentMap<InstrumentationScopeInfo,InstrumentationScopeMarshaler>
InstrumentationScopeMarshaler. SCOPE_MARSHALER_CACHE
Methods in io.opentelemetry.exporter.internal.otlp with parameters of type InstrumentationScopeInfo Modifier and Type Method Description static InstrumentationScopeMarshaler
InstrumentationScopeMarshaler. create(InstrumentationScopeInfo scopeInfo)
Returns a Marshaler for InstrumentationScopeInfo. -
Uses of InstrumentationScopeInfo in io.opentelemetry.exporter.internal.otlp.logs
Fields in io.opentelemetry.exporter.internal.otlp.logs with type parameters of type InstrumentationScopeInfo Modifier and Type Field Description private java.util.Map<Resource,java.util.Map<InstrumentationScopeInfo,java.util.List<LogRecordData>>>
LowAllocationLogsRequestMarshaler. resourceAndScopeMap
Methods in io.opentelemetry.exporter.internal.otlp.logs that return types with arguments of type InstrumentationScopeInfo Modifier and Type Method Description private static java.util.Map<Resource,java.util.Map<InstrumentationScopeInfo,java.util.List<LogRecordData>>>
LowAllocationLogsRequestMarshaler. groupByResourceAndScope(MarshalerContext context, java.util.Collection<LogRecordData> logDataList)
private static java.util.Map<Resource,java.util.Map<InstrumentationScopeInfo,java.util.List<Marshaler>>>
ResourceLogsMarshaler. groupByResourceAndScope(java.util.Collection<LogRecordData> logs)
Methods in io.opentelemetry.exporter.internal.otlp.logs with parameters of type InstrumentationScopeInfo Modifier and Type Method Description int
InstrumentationScopeLogsStatelessMarshaler. getBinarySerializedSize(InstrumentationScopeInfo instrumentationScope, java.util.List<LogRecordData> logs, MarshalerContext context)
void
InstrumentationScopeLogsStatelessMarshaler. writeTo(Serializer output, InstrumentationScopeInfo instrumentationScope, java.util.List<LogRecordData> logs, MarshalerContext context)
Method parameters in io.opentelemetry.exporter.internal.otlp.logs with type arguments of type InstrumentationScopeInfo Modifier and Type Method Description private static int
LowAllocationLogsRequestMarshaler. calculateSize(MarshalerContext context, java.util.Map<Resource,java.util.Map<InstrumentationScopeInfo,java.util.List<LogRecordData>>> resourceAndScopeMap)
int
ResourceLogsStatelessMarshaler. getBinarySerializedSize(Resource resource, java.util.Map<InstrumentationScopeInfo,java.util.List<LogRecordData>> scopeMap, MarshalerContext context)
void
ResourceLogsStatelessMarshaler. writeTo(Serializer output, Resource resource, java.util.Map<InstrumentationScopeInfo,java.util.List<LogRecordData>> scopeMap, MarshalerContext context)
-
Uses of InstrumentationScopeInfo in io.opentelemetry.exporter.internal.otlp.metrics
Fields in io.opentelemetry.exporter.internal.otlp.metrics with type parameters of type InstrumentationScopeInfo Modifier and Type Field Description private java.util.Map<Resource,java.util.Map<InstrumentationScopeInfo,java.util.List<MetricData>>>
LowAllocationMetricsRequestMarshaler. resourceAndScopeMap
Methods in io.opentelemetry.exporter.internal.otlp.metrics that return types with arguments of type InstrumentationScopeInfo Modifier and Type Method Description private static java.util.Map<Resource,java.util.Map<InstrumentationScopeInfo,java.util.List<MetricData>>>
LowAllocationMetricsRequestMarshaler. groupByResourceAndScope(MarshalerContext context, java.util.Collection<MetricData> metricDataList)
private static java.util.Map<Resource,java.util.Map<InstrumentationScopeInfo,java.util.List<Marshaler>>>
ResourceMetricsMarshaler. groupByResourceAndScope(java.util.Collection<MetricData> metricDataList)
Methods in io.opentelemetry.exporter.internal.otlp.metrics with parameters of type InstrumentationScopeInfo Modifier and Type Method Description int
InstrumentationScopeMetricsStatelessMarshaler. getBinarySerializedSize(InstrumentationScopeInfo instrumentationScope, java.util.List<MetricData> metrics, MarshalerContext context)
void
InstrumentationScopeMetricsStatelessMarshaler. writeTo(Serializer output, InstrumentationScopeInfo instrumentationScope, java.util.List<MetricData> metrics, MarshalerContext context)
Method parameters in io.opentelemetry.exporter.internal.otlp.metrics with type arguments of type InstrumentationScopeInfo Modifier and Type Method Description private static int
LowAllocationMetricsRequestMarshaler. calculateSize(MarshalerContext context, java.util.Map<Resource,java.util.Map<InstrumentationScopeInfo,java.util.List<MetricData>>> resourceAndScopeMap)
int
ResourceMetricsStatelessMarshaler. getBinarySerializedSize(Resource resource, java.util.Map<InstrumentationScopeInfo,java.util.List<MetricData>> scopeMap, MarshalerContext context)
void
ResourceMetricsStatelessMarshaler. writeTo(Serializer output, Resource resource, java.util.Map<InstrumentationScopeInfo,java.util.List<MetricData>> scopeMap, MarshalerContext context)
-
Uses of InstrumentationScopeInfo in io.opentelemetry.exporter.internal.otlp.traces
Fields in io.opentelemetry.exporter.internal.otlp.traces with type parameters of type InstrumentationScopeInfo Modifier and Type Field Description private java.util.Map<Resource,java.util.Map<InstrumentationScopeInfo,java.util.List<SpanData>>>
LowAllocationTraceRequestMarshaler. resourceAndScopeMap
Methods in io.opentelemetry.exporter.internal.otlp.traces that return types with arguments of type InstrumentationScopeInfo Modifier and Type Method Description private static java.util.Map<Resource,java.util.Map<InstrumentationScopeInfo,java.util.List<SpanData>>>
LowAllocationTraceRequestMarshaler. groupByResourceAndScope(MarshalerContext context, java.util.Collection<SpanData> spanDataList)
private static java.util.Map<Resource,java.util.Map<InstrumentationScopeInfo,java.util.List<SpanMarshaler>>>
ResourceSpansMarshaler. groupByResourceAndScope(java.util.Collection<SpanData> spanDataList)
Methods in io.opentelemetry.exporter.internal.otlp.traces with parameters of type InstrumentationScopeInfo Modifier and Type Method Description int
InstrumentationScopeSpansStatelessMarshaler. getBinarySerializedSize(InstrumentationScopeInfo instrumentationScope, java.util.List<SpanData> spans, MarshalerContext context)
void
InstrumentationScopeSpansStatelessMarshaler. writeTo(Serializer output, InstrumentationScopeInfo instrumentationScope, java.util.List<SpanData> spans, MarshalerContext context)
Method parameters in io.opentelemetry.exporter.internal.otlp.traces with type arguments of type InstrumentationScopeInfo Modifier and Type Method Description private static int
LowAllocationTraceRequestMarshaler. calculateSize(MarshalerContext context, java.util.Map<Resource,java.util.Map<InstrumentationScopeInfo,java.util.List<SpanData>>> resourceAndScopeMap)
int
ResourceSpansStatelessMarshaler. getBinarySerializedSize(Resource resource, java.util.Map<InstrumentationScopeInfo,java.util.List<SpanData>> scopeMap, MarshalerContext context)
void
ResourceSpansStatelessMarshaler. writeTo(Serializer output, Resource resource, java.util.Map<InstrumentationScopeInfo,java.util.List<SpanData>> scopeMap, MarshalerContext context)
-
Uses of InstrumentationScopeInfo in io.opentelemetry.sdk.common
Subclasses of InstrumentationScopeInfo in io.opentelemetry.sdk.common Modifier and Type Class Description (package private) class
AutoValue_InstrumentationScopeInfo
Fields in io.opentelemetry.sdk.common declared as InstrumentationScopeInfo Modifier and Type Field Description private static InstrumentationScopeInfo
InstrumentationScopeInfo. EMPTY
Methods in io.opentelemetry.sdk.common that return InstrumentationScopeInfo Modifier and Type Method Description InstrumentationScopeInfo
InstrumentationScopeInfoBuilder. build()
Return aInstrumentationScopeInfo
with the configuration of this builder.static InstrumentationScopeInfo
InstrumentationScopeInfo. create(java.lang.String name)
Creates a new instance ofInstrumentationScopeInfo
.static InstrumentationScopeInfo
InstrumentationScopeInfo. create(java.lang.String name, java.lang.String version, java.lang.String schemaUrl)
Deprecated.Usebuilder(String)
orcreate(String)
.(package private) static InstrumentationScopeInfo
InstrumentationScopeInfo. create(java.lang.String name, java.lang.String version, java.lang.String schemaUrl, Attributes attributes)
static InstrumentationScopeInfo
InstrumentationScopeInfo. empty()
Returns an "empty"InstrumentationScopeInfo
. -
Uses of InstrumentationScopeInfo in io.opentelemetry.sdk.internal
Fields in io.opentelemetry.sdk.internal with type parameters of type InstrumentationScopeInfo Modifier and Type Field Description private java.util.function.Function<InstrumentationScopeInfo,V>
ComponentRegistry. factory
private java.util.function.Predicate<InstrumentationScopeInfo>
ScopeConfiguratorBuilder.Condition. scopeMatcher
Methods in io.opentelemetry.sdk.internal that return InstrumentationScopeInfo Modifier and Type Method Description static InstrumentationScopeInfo
InstrumentationScopeUtil. toInstrumentationScopeInfo(InstrumentationLibraryInfo instrumentationLibraryInfo)
Convert toInstrumentationScopeInfo
.Methods in io.opentelemetry.sdk.internal that return types with arguments of type InstrumentationScopeInfo Modifier and Type Method Description static java.util.function.Predicate<InstrumentationScopeInfo>
ScopeConfiguratorBuilder. nameEquals(java.lang.String scopeName)
Helper function for exact matchinggetName()
against thescopeName
.static java.util.function.Predicate<InstrumentationScopeInfo>
ScopeConfiguratorBuilder. nameMatchesGlob(java.lang.String globPattern)
Helper function for pattern matchinggetName()
against theglobPattern
.Methods in io.opentelemetry.sdk.internal with parameters of type InstrumentationScopeInfo Modifier and Type Method Description private V
ComponentRegistry. buildComponent(InstrumentationScopeInfo instrumentationScopeInfo)
static InstrumentationLibraryInfo
InstrumentationScopeUtil. toInstrumentationLibraryInfo(InstrumentationScopeInfo instrumentationScopeInfo)
Convert toInstrumentationLibraryInfo
.Method parameters in io.opentelemetry.sdk.internal with type arguments of type InstrumentationScopeInfo Modifier and Type Method Description ScopeConfiguratorBuilder<T>
ScopeConfiguratorBuilder. addCondition(java.util.function.Predicate<InstrumentationScopeInfo> scopePredicate, T scopeConfig)
Add a condition.Constructor parameters in io.opentelemetry.sdk.internal with type arguments of type InstrumentationScopeInfo Constructor Description ComponentRegistry(java.util.function.Function<InstrumentationScopeInfo,V> factory)
Condition(java.util.function.Predicate<InstrumentationScopeInfo> scopeMatcher, T scopeConfig)
-
Uses of InstrumentationScopeInfo in io.opentelemetry.sdk.logs
Fields in io.opentelemetry.sdk.logs declared as InstrumentationScopeInfo Modifier and Type Field Description private InstrumentationScopeInfo
AutoValue_SdkLogRecordData. instrumentationScopeInfo
private InstrumentationScopeInfo
SdkLogger. instrumentationScopeInfo
private InstrumentationScopeInfo
SdkLogRecordBuilder. instrumentationScopeInfo
private InstrumentationScopeInfo
SdkReadWriteLogRecord. instrumentationScopeInfo
Methods in io.opentelemetry.sdk.logs that return InstrumentationScopeInfo Modifier and Type Method Description InstrumentationScopeInfo
AutoValue_SdkLogRecordData. getInstrumentationScopeInfo()
(package private) InstrumentationScopeInfo
SdkLogger. getInstrumentationScopeInfo()
Methods in io.opentelemetry.sdk.logs with parameters of type InstrumentationScopeInfo Modifier and Type Method Description (package private) static SdkLogRecordData
SdkLogRecordData. create(Resource resource, InstrumentationScopeInfo instrumentationScopeInfo, long epochNanos, long observedEpochNanos, SpanContext spanContext, Severity severity, java.lang.String severityText, Value<?> body, Attributes attributes, int totalAttributeCount)
(package private) static SdkReadWriteLogRecord
SdkReadWriteLogRecord. create(LogLimits logLimits, Resource resource, InstrumentationScopeInfo instrumentationScopeInfo, long timestampEpochNanos, long observedTimestampEpochNanos, SpanContext spanContext, Severity severity, java.lang.String severityText, Value<?> body, AttributesMap attributes)
Create the log record with the given configuration.private LoggerConfig
SdkLoggerProvider. getLoggerConfig(InstrumentationScopeInfo instrumentationScopeInfo)
Method parameters in io.opentelemetry.sdk.logs with type arguments of type InstrumentationScopeInfo Modifier and Type Method Description (package private) SdkLoggerProviderBuilder
SdkLoggerProviderBuilder. addLoggerConfiguratorCondition(java.util.function.Predicate<InstrumentationScopeInfo> scopeMatcher, LoggerConfig loggerConfig)
Adds a condition to the logger configurator, which computesLoggerConfig
for eachInstrumentationScopeInfo
.Constructors in io.opentelemetry.sdk.logs with parameters of type InstrumentationScopeInfo Constructor Description AutoValue_SdkLogRecordData(Resource resource, InstrumentationScopeInfo instrumentationScopeInfo, long timestampEpochNanos, long observedTimestampEpochNanos, SpanContext spanContext, Severity severity, java.lang.String severityText, Attributes attributes, int totalAttributeCount, Value<?> bodyValue)
SdkLogger(LoggerSharedState loggerSharedState, InstrumentationScopeInfo instrumentationScopeInfo, LoggerConfig loggerConfig)
SdkLogRecordBuilder(LoggerSharedState loggerSharedState, InstrumentationScopeInfo instrumentationScopeInfo)
SdkReadWriteLogRecord(LogLimits logLimits, Resource resource, InstrumentationScopeInfo instrumentationScopeInfo, long timestampEpochNanos, long observedTimestampEpochNanos, SpanContext spanContext, Severity severity, java.lang.String severityText, Value<?> body, AttributesMap attributes)
-
Uses of InstrumentationScopeInfo in io.opentelemetry.sdk.logs.data
Methods in io.opentelemetry.sdk.logs.data that return InstrumentationScopeInfo Modifier and Type Method Description InstrumentationScopeInfo
LogRecordData. getInstrumentationScopeInfo()
Returns the instrumentation scope that generated this log. -
Uses of InstrumentationScopeInfo in io.opentelemetry.sdk.logs.internal
Method parameters in io.opentelemetry.sdk.logs.internal with type arguments of type InstrumentationScopeInfo Modifier and Type Method Description static void
SdkLoggerProviderUtil. addLoggerConfiguratorCondition(SdkLoggerProviderBuilder sdkLoggerProviderBuilder, java.util.function.Predicate<InstrumentationScopeInfo> scopeMatcher, LoggerConfig loggerConfig)
Reflectively add a logger configurator condition to theSdkLoggerProviderBuilder
. -
Uses of InstrumentationScopeInfo in io.opentelemetry.sdk.metrics
Fields in io.opentelemetry.sdk.metrics declared as InstrumentationScopeInfo Modifier and Type Field Description private InstrumentationScopeInfo
SdkMeter. instrumentationScopeInfo
Methods in io.opentelemetry.sdk.metrics that return InstrumentationScopeInfo Modifier and Type Method Description (package private) InstrumentationScopeInfo
SdkMeter. getInstrumentationScopeInfo()
Methods in io.opentelemetry.sdk.metrics with parameters of type InstrumentationScopeInfo Modifier and Type Method Description private MeterConfig
SdkMeterProvider. getMeterConfig(InstrumentationScopeInfo instrumentationScopeInfo)
Method parameters in io.opentelemetry.sdk.metrics with type arguments of type InstrumentationScopeInfo Modifier and Type Method Description (package private) SdkMeterProviderBuilder
SdkMeterProviderBuilder. addMeterConfiguratorCondition(java.util.function.Predicate<InstrumentationScopeInfo> scopeMatcher, MeterConfig meterConfig)
Adds a condition to the meter configurator, which computesMeterConfig
for eachInstrumentationScopeInfo
.Constructors in io.opentelemetry.sdk.metrics with parameters of type InstrumentationScopeInfo Constructor Description SdkMeter(MeterProviderSharedState meterProviderSharedState, InstrumentationScopeInfo instrumentationScopeInfo, java.util.List<RegisteredReader> registeredReaders, MeterConfig meterConfig)
-
Uses of InstrumentationScopeInfo in io.opentelemetry.sdk.metrics.data
Methods in io.opentelemetry.sdk.metrics.data that return InstrumentationScopeInfo Modifier and Type Method Description InstrumentationScopeInfo
MetricData. getInstrumentationScopeInfo()
Returns the metricInstrumentationScopeInfo
. -
Uses of InstrumentationScopeInfo in io.opentelemetry.sdk.metrics.internal
Method parameters in io.opentelemetry.sdk.metrics.internal with type arguments of type InstrumentationScopeInfo Modifier and Type Method Description static void
SdkMeterProviderUtil. addMeterConfiguratorCondition(SdkMeterProviderBuilder sdkMeterProviderBuilder, java.util.function.Predicate<InstrumentationScopeInfo> scopeMatcher, MeterConfig meterConfig)
Reflectively add a tracer configurator condition to theSdkMeterProviderBuilder
. -
Uses of InstrumentationScopeInfo in io.opentelemetry.sdk.metrics.internal.aggregator
Methods in io.opentelemetry.sdk.metrics.internal.aggregator that return InstrumentationScopeInfo Modifier and Type Method Description InstrumentationScopeInfo
EmptyMetricData. getInstrumentationScopeInfo()
Methods in io.opentelemetry.sdk.metrics.internal.aggregator with parameters of type InstrumentationScopeInfo Modifier and Type Method Description MetricData
Aggregator. toMetricData(Resource resource, InstrumentationScopeInfo instrumentationScopeInfo, MetricDescriptor metricDescriptor, java.util.Collection<T> points, AggregationTemporality temporality)
Returns theMetricData
that thisAggregation
will produce.MetricData
DoubleBase2ExponentialHistogramAggregator. toMetricData(Resource resource, InstrumentationScopeInfo instrumentationScopeInfo, MetricDescriptor metricDescriptor, java.util.Collection<ExponentialHistogramPointData> points, AggregationTemporality temporality)
MetricData
DoubleExplicitBucketHistogramAggregator. toMetricData(Resource resource, InstrumentationScopeInfo instrumentationScopeInfo, MetricDescriptor metricDescriptor, java.util.Collection<HistogramPointData> pointData, AggregationTemporality temporality)
MetricData
DoubleLastValueAggregator. toMetricData(Resource resource, InstrumentationScopeInfo instrumentationScopeInfo, MetricDescriptor descriptor, java.util.Collection<DoublePointData> points, AggregationTemporality temporality)
MetricData
DoubleSumAggregator. toMetricData(Resource resource, InstrumentationScopeInfo instrumentationScopeInfo, MetricDescriptor descriptor, java.util.Collection<DoublePointData> points, AggregationTemporality temporality)
MetricData
DropAggregator. toMetricData(Resource resource, InstrumentationScopeInfo instrumentationScopeInfo, MetricDescriptor metricDescriptor, java.util.Collection<PointData> points, AggregationTemporality temporality)
MetricData
LongLastValueAggregator. toMetricData(Resource resource, InstrumentationScopeInfo instrumentationScopeInfo, MetricDescriptor descriptor, java.util.Collection<LongPointData> points, AggregationTemporality temporality)
MetricData
LongSumAggregator. toMetricData(Resource resource, InstrumentationScopeInfo instrumentationScopeInfo, MetricDescriptor descriptor, java.util.Collection<LongPointData> points, AggregationTemporality temporality)
-
Uses of InstrumentationScopeInfo in io.opentelemetry.sdk.metrics.internal.data
Fields in io.opentelemetry.sdk.metrics.internal.data declared as InstrumentationScopeInfo Modifier and Type Field Description private InstrumentationScopeInfo
AutoValue_ImmutableMetricData. instrumentationScopeInfo
Methods in io.opentelemetry.sdk.metrics.internal.data that return InstrumentationScopeInfo Modifier and Type Method Description InstrumentationScopeInfo
AutoValue_ImmutableMetricData. getInstrumentationScopeInfo()
Methods in io.opentelemetry.sdk.metrics.internal.data with parameters of type InstrumentationScopeInfo Modifier and Type Method Description (package private) static ImmutableMetricData
ImmutableMetricData. create(Resource resource, InstrumentationScopeInfo instrumentationScopeInfo, java.lang.String name, java.lang.String description, java.lang.String unit, MetricDataType type, Data<?> data)
static MetricData
ImmutableMetricData. createDoubleGauge(Resource resource, InstrumentationScopeInfo instrumentationScopeInfo, java.lang.String name, java.lang.String description, java.lang.String unit, GaugeData<DoublePointData> data)
Returns a new MetricData with aMetricDataType.DOUBLE_GAUGE
type.static MetricData
ImmutableMetricData. createDoubleHistogram(Resource resource, InstrumentationScopeInfo instrumentationScopeInfo, java.lang.String name, java.lang.String description, java.lang.String unit, HistogramData data)
Returns a new MetricData with aMetricDataType.HISTOGRAM
type.static MetricData
ImmutableMetricData. createDoubleSum(Resource resource, InstrumentationScopeInfo instrumentationScopeInfo, java.lang.String name, java.lang.String description, java.lang.String unit, SumData<DoublePointData> data)
Returns a new MetricData with aMetricDataType.DOUBLE_SUM
type.static MetricData
ImmutableMetricData. createDoubleSummary(Resource resource, InstrumentationScopeInfo instrumentationScopeInfo, java.lang.String name, java.lang.String description, java.lang.String unit, SummaryData data)
Returns a new MetricData with aMetricDataType.SUMMARY
type.static MetricData
ImmutableMetricData. createExponentialHistogram(Resource resource, InstrumentationScopeInfo instrumentationScopeInfo, java.lang.String name, java.lang.String description, java.lang.String unit, ExponentialHistogramData data)
Returns a new MetricData with aMetricDataType.EXPONENTIAL_HISTOGRAM
type.static MetricData
ImmutableMetricData. createLongGauge(Resource resource, InstrumentationScopeInfo instrumentationScopeInfo, java.lang.String name, java.lang.String description, java.lang.String unit, GaugeData<LongPointData> data)
Returns a new MetricData with aMetricDataType.LONG_GAUGE
type.static MetricData
ImmutableMetricData. createLongSum(Resource resource, InstrumentationScopeInfo instrumentationScopeInfo, java.lang.String name, java.lang.String description, java.lang.String unit, SumData<LongPointData> data)
Returns a new MetricData with aMetricDataType.LONG_SUM
type.Constructors in io.opentelemetry.sdk.metrics.internal.data with parameters of type InstrumentationScopeInfo Constructor Description AutoValue_ImmutableMetricData(Resource resource, InstrumentationScopeInfo instrumentationScopeInfo, java.lang.String name, java.lang.String description, java.lang.String unit, MetricDataType type, Data<?> data)
-
Uses of InstrumentationScopeInfo in io.opentelemetry.sdk.metrics.internal.state
Fields in io.opentelemetry.sdk.metrics.internal.state declared as InstrumentationScopeInfo Modifier and Type Field Description private InstrumentationScopeInfo
SdkObservableMeasurement. instrumentationScopeInfo
Methods in io.opentelemetry.sdk.metrics.internal.state that return InstrumentationScopeInfo Modifier and Type Method Description InstrumentationScopeInfo
SdkObservableMeasurement. getInstrumentationScopeInfo()
Get the instrumentation scope info.Methods in io.opentelemetry.sdk.metrics.internal.state with parameters of type InstrumentationScopeInfo Modifier and Type Method Description MetricData
AsynchronousMetricStorage. collect(Resource resource, InstrumentationScopeInfo instrumentationScopeInfo, long startEpochNanos, long epochNanos)
MetricData
DefaultSynchronousMetricStorage. collect(Resource resource, InstrumentationScopeInfo instrumentationScopeInfo, long startEpochNanos, long epochNanos)
MetricData
EmptyMetricStorage. collect(Resource resource, InstrumentationScopeInfo instrumentationScopeInfo, long startEpochNanos, long epochNanos)
MetricData
MetricStorage. collect(Resource resource, InstrumentationScopeInfo instrumentationScopeInfo, long startEpochNanos, long epochNanos)
Collects the metrics from this storage.static SdkObservableMeasurement
SdkObservableMeasurement. create(InstrumentationScopeInfo instrumentationScopeInfo, InstrumentDescriptor instrumentDescriptor, java.util.List<AsynchronousMetricStorage<?,?>> storages)
Create aSdkObservableMeasurement
.Constructors in io.opentelemetry.sdk.metrics.internal.state with parameters of type InstrumentationScopeInfo Constructor Description SdkObservableMeasurement(InstrumentationScopeInfo instrumentationScopeInfo, InstrumentDescriptor instrumentDescriptor, java.util.List<AsynchronousMetricStorage<?,?>> storages)
-
Uses of InstrumentationScopeInfo in io.opentelemetry.sdk.metrics.internal.view
Methods in io.opentelemetry.sdk.metrics.internal.view with parameters of type InstrumentationScopeInfo Modifier and Type Method Description java.util.List<RegisteredView>
ViewRegistry. findViews(InstrumentDescriptor descriptor, InstrumentationScopeInfo meterScope)
Returns the metricView
for a given instrument.private static boolean
ViewRegistry. matchesMeter(InstrumentSelector selector, InstrumentationScopeInfo meterScope)
private static boolean
ViewRegistry. matchesSelector(InstrumentSelector selector, InstrumentDescriptor descriptor, InstrumentationScopeInfo meterScope)
-
Uses of InstrumentationScopeInfo in io.opentelemetry.sdk.trace
Fields in io.opentelemetry.sdk.trace declared as InstrumentationScopeInfo Modifier and Type Field Description private InstrumentationScopeInfo
SdkSpan. instrumentationScopeInfo
private InstrumentationScopeInfo
SdkSpanBuilder. instrumentationScopeInfo
private InstrumentationScopeInfo
SdkTracer. instrumentationScopeInfo
Methods in io.opentelemetry.sdk.trace that return InstrumentationScopeInfo Modifier and Type Method Description default InstrumentationScopeInfo
ReadableSpan. getInstrumentationScopeInfo()
Returns the instrumentation scope specified when creating the tracer which produced this span.InstrumentationScopeInfo
SdkSpan. getInstrumentationScopeInfo()
(package private) InstrumentationScopeInfo
SdkTracer. getInstrumentationScopeInfo()
InstrumentationScopeInfo
SpanWrapper. getInstrumentationScopeInfo()
Methods in io.opentelemetry.sdk.trace with parameters of type InstrumentationScopeInfo Modifier and Type Method Description private TracerConfig
SdkTracerProvider. getTracerConfig(InstrumentationScopeInfo instrumentationScopeInfo)
(package private) static SdkSpan
SdkSpan. startSpan(SpanContext context, java.lang.String name, InstrumentationScopeInfo instrumentationScopeInfo, SpanKind kind, Span parentSpan, Context parentContext, SpanLimits spanLimits, SpanProcessor spanProcessor, Clock tracerClock, Resource resource, AttributesMap attributes, java.util.List<LinkData> links, int totalRecordedLinks, long userStartEpochNanos)
Creates and starts a span with the given configuration.Method parameters in io.opentelemetry.sdk.trace with type arguments of type InstrumentationScopeInfo Modifier and Type Method Description (package private) SdkTracerProviderBuilder
SdkTracerProviderBuilder. addTracerConfiguratorCondition(java.util.function.Predicate<InstrumentationScopeInfo> scopeMatcher, TracerConfig tracerConfig)
Adds a condition to the tracer configurator, which computesTracerConfig
for eachInstrumentationScopeInfo
.Constructors in io.opentelemetry.sdk.trace with parameters of type InstrumentationScopeInfo Constructor Description SdkSpan(SpanContext context, java.lang.String name, InstrumentationScopeInfo instrumentationScopeInfo, SpanKind kind, SpanContext parentSpanContext, SpanLimits spanLimits, SpanProcessor spanProcessor, AnchoredClock clock, Resource resource, AttributesMap attributes, java.util.List<LinkData> links, int totalRecordedLinks, long startEpochNanos)
SdkSpanBuilder(java.lang.String spanName, InstrumentationScopeInfo instrumentationScopeInfo, TracerSharedState tracerSharedState, SpanLimits spanLimits)
SdkTracer(TracerSharedState sharedState, InstrumentationScopeInfo instrumentationScopeInfo, TracerConfig tracerConfig)
-
Uses of InstrumentationScopeInfo in io.opentelemetry.sdk.trace.data
Methods in io.opentelemetry.sdk.trace.data that return InstrumentationScopeInfo Modifier and Type Method Description InstrumentationScopeInfo
DelegatingSpanData. getInstrumentationScopeInfo()
default InstrumentationScopeInfo
SpanData. getInstrumentationScopeInfo()
Returns the instrumentation scope specified when creating the tracer which produced thisSpan
. -
Uses of InstrumentationScopeInfo in io.opentelemetry.sdk.trace.internal
Method parameters in io.opentelemetry.sdk.trace.internal with type arguments of type InstrumentationScopeInfo Modifier and Type Method Description static void
SdkTracerProviderUtil. addTracerConfiguratorCondition(SdkTracerProviderBuilder sdkTracerProviderBuilder, java.util.function.Predicate<InstrumentationScopeInfo> scopeMatcher, TracerConfig tracerConfig)
Reflectively add a tracer configurator condition to theSdkTracerProviderBuilder
.
-