Skip navigation links
A B C D E F G H I K L M N O P R S T U V W 

A

addSpanProcessor(SpanProcessor) - Method in class io.opentelemetry.sdk.trace.TracerSdkProvider
Adds a new SpanProcessor to this Tracer.
advanceMillis(long) - Method in class io.opentelemetry.sdk.internal.TestClock
Advances the time by millis and mutates this instance.
advanceNanos(long) - Method in class io.opentelemetry.sdk.internal.TestClock
Advances the time by nanos and mutates this instance.
Aggregation - Interface in io.opentelemetry.sdk.metrics.view
Aggregation is the process of combining a certain set of recorded measurements for a given Instrument into the equivalent MetricData.
Aggregations - Class in io.opentelemetry.sdk.metrics.view
 
Aggregator - Interface in io.opentelemetry.sdk.metrics.aggregator
Aggregator represents the interface for all the available aggregations.
AggregatorFactory - Interface in io.opentelemetry.sdk.metrics.aggregator
Factory class for Aggregator.
alwaysOff() - Static method in class io.opentelemetry.sdk.trace.Samplers
Returns a Sampler that always makes a "no" Sampler.SamplingResult for Span sampling.
alwaysOn() - Static method in class io.opentelemetry.sdk.trace.Samplers
Returns a Sampler that always makes a "yes" Sampler.SamplingResult for Span sampling.
availableForInstrument(InstrumentType) - Method in interface io.opentelemetry.sdk.metrics.view.Aggregation
Returns true if this Aggregation can be applied to the given InstrumentType.

B

BatchSpanProcessor - Class in io.opentelemetry.sdk.trace.export
Implementation of the SpanProcessor that batches spans exported by the SDK then pushes them to the exporter pipeline.
BatchSpanProcessor.Builder - Class in io.opentelemetry.sdk.trace.export
Builder class for BatchSpanProcessor.
build() - Method in class io.opentelemetry.sdk.metrics.export.IntervalMetricReader.Builder
Builds a new IntervalMetricReader with current settings.
build() - Method in class io.opentelemetry.sdk.metrics.MeterSdkProvider.Builder
Create a new TracerSdkFactory instance.
build() - Method in class io.opentelemetry.sdk.trace.config.TraceConfig.Builder
Builds and returns a TraceConfig with the desired values.
build() - Method in class io.opentelemetry.sdk.trace.data.test.TestSpanData.Builder
Create a new SpanData instance from the data in this.
build() - Method in class io.opentelemetry.sdk.trace.export.BatchSpanProcessor.Builder
Returns a new BatchSpanProcessor that batches, then converts spans to proto and forwards them to the given spanExporter.
build() - Method in class io.opentelemetry.sdk.trace.export.SimpleSpanProcessor.Builder
Returns a new SimpleSpanProcessor that converts spans to proto and forwards them to the given spanExporter.
build() - Method in class io.opentelemetry.sdk.trace.TracerSdkProvider.Builder
Create a new TracerSdkFactory instance.
builder() - Static method in class io.opentelemetry.sdk.metrics.export.IntervalMetricReader
builder() - Static method in class io.opentelemetry.sdk.metrics.MeterSdkProvider
Builder() - Constructor for class io.opentelemetry.sdk.trace.data.test.TestSpanData.Builder
 
builder() - Static method in class io.opentelemetry.sdk.trace.TracerSdkProvider
builderFromDefaultSources() - Static method in class io.opentelemetry.sdk.metrics.export.IntervalMetricReader
Returns a new IntervalMetricReader.Builder for IntervalMetricReader reading the configuration values from the environment and from system properties.

C

Clock - Interface in io.opentelemetry.sdk.common
Interface for getting the current time.
CLOUD_ACCOUNT - Static variable in class io.opentelemetry.sdk.resources.ResourceConstants
The cloud account id used to identify different entities.
CLOUD_PROVIDER - Static variable in class io.opentelemetry.sdk.resources.ResourceConstants
Name of the cloud provider.
CLOUD_REGION - Static variable in class io.opentelemetry.sdk.resources.ResourceConstants
A specific geographical location where different entities can run.
CLOUD_ZONE - Static variable in class io.opentelemetry.sdk.resources.ResourceConstants
Zones are a sub set of the region connected through low-latency links.
collectAllMetrics() - Method in interface io.opentelemetry.sdk.metrics.export.MetricProducer
Returns a collection of produced MetricDatas to be exported.
ComponentRegistry<V> - Class in io.opentelemetry.sdk.internal
Base class for all the provider classes (TracerProvider, MeterProvider, etc.).
ComponentRegistry() - Constructor for class io.opentelemetry.sdk.internal.ComponentRegistry
 
ConfigBuilder<T> - Class in io.opentelemetry.sdk.common.export
Base class for all the config builder classes (SimpleSpanProcessor, BatchSpanProcessor, etc).
ConfigBuilder() - Constructor for class io.opentelemetry.sdk.common.export.ConfigBuilder
 
ConfigBuilder.NamingConvention - Enum in io.opentelemetry.sdk.common.export
 
CONTAINER_ID - Static variable in class io.opentelemetry.sdk.resources.ResourceConstants
Container id.
CONTAINER_IMAGE_NAME - Static variable in class io.opentelemetry.sdk.resources.ResourceConstants
Name of the image the container was built on.
CONTAINER_IMAGE_TAG - Static variable in class io.opentelemetry.sdk.resources.ResourceConstants
Container image tag.
CONTAINER_NAME - Static variable in class io.opentelemetry.sdk.resources.ResourceConstants
Container name.
contextBuilder() - Method in class io.opentelemetry.sdk.correlationcontext.CorrelationContextManagerSdk
 
CorrelationContextManagerFactorySdk - Class in io.opentelemetry.sdk.correlationcontext.spi
CorrelationContextManager provider implementation for CorrelationContextManagerFactory.
CorrelationContextManagerFactorySdk() - Constructor for class io.opentelemetry.sdk.correlationcontext.spi.CorrelationContextManagerFactorySdk
 
CorrelationContextManagerSdk - Class in io.opentelemetry.sdk.correlationcontext
CorrelationContextManagerSdk is SDK implementation of CorrelationContextManager.
CorrelationContextManagerSdk() - Constructor for class io.opentelemetry.sdk.correlationcontext.CorrelationContextManagerSdk
 
count() - Static method in class io.opentelemetry.sdk.metrics.view.Aggregations
Returns an Aggregation that calculates count of recorded measurements (the number of recorded measurements).
create(String, String) - Static method in class io.opentelemetry.sdk.common.InstrumentationLibraryInfo
Creates a new instance of InstrumentationLibraryInfo.
create() - Method in class io.opentelemetry.sdk.correlationcontext.spi.CorrelationContextManagerFactorySdk
 
create(Clock) - Static method in class io.opentelemetry.sdk.internal.MonotonicClock
Returns a MonotonicClock.
create() - Static method in class io.opentelemetry.sdk.internal.TestClock
Creates a clock initialized to a constant non-zero time.
create(long) - Static method in class io.opentelemetry.sdk.internal.TestClock
Creates a clock with the given time.
create(MetricData.Descriptor, Resource, InstrumentationLibraryInfo, Collection<MetricData.Point>) - Static method in class io.opentelemetry.sdk.metrics.data.MetricData
 
create(String, String, String, MetricData.Descriptor.Type, Labels) - Static method in class io.opentelemetry.sdk.metrics.data.MetricData.Descriptor
 
create(long, long, Labels, double) - Static method in class io.opentelemetry.sdk.metrics.data.MetricData.DoublePoint
 
create(long, long, Labels, long) - Static method in class io.opentelemetry.sdk.metrics.data.MetricData.LongPoint
 
create(long, long, Labels, long, double, List<MetricData.ValueAtPercentile>) - Static method in class io.opentelemetry.sdk.metrics.data.MetricData.SummaryPoint
 
create(double, double) - Static method in class io.opentelemetry.sdk.metrics.data.MetricData.ValueAtPercentile
 
create() - Method in class io.opentelemetry.sdk.metrics.spi.MeterProviderFactorySdk
 
create(Attributes) - Static method in class io.opentelemetry.sdk.resources.Resource
Returns a Resource.
create(long, String, Attributes) - Static method in class io.opentelemetry.sdk.trace.data.EventImpl
Returns a new immutable Event.
create(long, String, Attributes, int) - Static method in class io.opentelemetry.sdk.trace.data.EventImpl
Returns a new immutable Event.
create(SpanContext) - Static method in class io.opentelemetry.sdk.trace.data.SpanData.Link
Returns a new immutable Link.
create(SpanContext, Attributes) - Static method in class io.opentelemetry.sdk.trace.data.SpanData.Link
Returns a new immutable Link.
create(SpanContext, Attributes, int) - Static method in class io.opentelemetry.sdk.trace.data.SpanData.Link
Returns a new immutable Link.
create(List<SpanExporter>) - Static method in class io.opentelemetry.sdk.trace.export.MultiSpanExporter
Constructs and returns an instance of this class.
create(List<SpanProcessor>) - Static method in class io.opentelemetry.sdk.trace.MultiSpanProcessor
Creates a new MultiSpanProcessor.
create() - Method in class io.opentelemetry.sdk.trace.spi.TracerProviderFactorySdk
 

D

DaemonThreadFactory - Class in io.opentelemetry.sdk.common
A ThreadFactory that delegates to MoreExecutors.platformThreadFactory() and marks all threads as daemon.
DaemonThreadFactory(String) - Constructor for class io.opentelemetry.sdk.common.DaemonThreadFactory
 
distributionWithExplicitBounds(Double...) - Static method in class io.opentelemetry.sdk.metrics.view.Aggregations
Returns an Aggregation that calculates distribution stats on recorded measurements.
DoubleLastValueAggregator - Class in io.opentelemetry.sdk.metrics.aggregator
Aggregator that aggregates recorded values by storing the last recorded value.
DoubleLastValueAggregator() - Constructor for class io.opentelemetry.sdk.metrics.aggregator.DoubleLastValueAggregator
 
DoubleMinMaxSumCount - Class in io.opentelemetry.sdk.metrics.aggregator
 
DoubleSumAggregator - Class in io.opentelemetry.sdk.metrics.aggregator
 
DoubleSumAggregator() - Constructor for class io.opentelemetry.sdk.metrics.aggregator.DoubleSumAggregator
 

E

emptySamplingResult(Sampler.Decision) - Static method in class io.opentelemetry.sdk.trace.Samplers
Returns a Sampler.SamplingResult with empty attributes and Sampler.SamplingResult.getDecision() returning decision.
EventImpl - Class in io.opentelemetry.sdk.trace.data
An immutable timed event representation.
export(Collection<MetricData>) - Method in interface io.opentelemetry.sdk.metrics.export.MetricExporter
Exports the collection of given MetricData.
export(Collection<SpanData>) - Method in class io.opentelemetry.sdk.trace.export.MultiSpanExporter
 
export(Collection<SpanData>) - Method in interface io.opentelemetry.sdk.trace.export.SpanExporter
Called to export sampled Spans.

F

flush() - Method in interface io.opentelemetry.sdk.metrics.export.MetricExporter
Exports the collection of MetricData that have not yet been exported.
flush() - Method in class io.opentelemetry.sdk.trace.export.MultiSpanExporter
Flushes the data of all registered SpanExporters.
flush() - Method in interface io.opentelemetry.sdk.trace.export.SpanExporter
Exports the collection of sampled Spans that have not yet been exported.
forceFlush() - Method in class io.opentelemetry.sdk.trace.export.BatchSpanProcessor
 
forceFlush() - Method in class io.opentelemetry.sdk.trace.export.SimpleSpanProcessor
 
forceFlush() - Method in class io.opentelemetry.sdk.trace.MultiSpanProcessor
 
forceFlush() - Method in interface io.opentelemetry.sdk.trace.SpanProcessor
Processes all span events that have not yet been processed.
forceFlush() - Method in class io.opentelemetry.sdk.trace.TracerSdkProvider
Requests the active span processor to process all span events that have not yet been processed.
fromConfigMap(Map<String, String>, ConfigBuilder.NamingConvention) - Method in class io.opentelemetry.sdk.common.export.ConfigBuilder
Sets the configuration values from the given configuration map for only the available keys.
fromConfigMap(Map<String, String>, ConfigBuilder.NamingConvention) - Method in class io.opentelemetry.sdk.metrics.export.IntervalMetricReader.Builder
Sets the configuration values from the given configuration map for only the available keys.
fromConfigMap(Map<String, String>, ConfigBuilder.NamingConvention) - Method in class io.opentelemetry.sdk.trace.config.TraceConfig.Builder
Sets the configuration values from the given configuration map for only the available keys.
fromConfigMap(Map<String, String>, ConfigBuilder.NamingConvention) - Method in class io.opentelemetry.sdk.trace.export.BatchSpanProcessor.Builder
Sets the configuration values from the given configuration map for only the available keys.
fromConfigMap(Map<String, String>, ConfigBuilder.NamingConvention) - Method in class io.opentelemetry.sdk.trace.export.SimpleSpanProcessor.Builder
Sets the configuration values from the given configuration map for only the available keys.

G

generateSpanId() - Method in interface io.opentelemetry.sdk.trace.IdsGenerator
Generates a new valid SpanId.
generateSpanId() - Method in class io.opentelemetry.sdk.trace.RandomIdsGenerator
 
generateTraceId() - Method in interface io.opentelemetry.sdk.trace.IdsGenerator
Generates a new valid TraceId.
generateTraceId() - Method in class io.opentelemetry.sdk.trace.RandomIdsGenerator
 
get(String) - Method in class io.opentelemetry.sdk.internal.ComponentRegistry
Returns the registered value associated with this name and null version if any, otherwise creates a new instance and associates it with the given name and null version.
get(String, String) - Method in class io.opentelemetry.sdk.internal.ComponentRegistry
Returns the registered value associated with this name and version if any, otherwise creates a new instance and associates it with the given name and version.
get(String) - Method in class io.opentelemetry.sdk.metrics.MeterSdkProvider
 
get(String, String) - Method in class io.opentelemetry.sdk.metrics.MeterSdkProvider
 
get(String) - Method in class io.opentelemetry.sdk.trace.TracerSdkProvider
 
get(String, String) - Method in class io.opentelemetry.sdk.trace.TracerSdkProvider
 
getActiveTraceConfig() - Method in class io.opentelemetry.sdk.trace.TracerSdkProvider
Returns the active TraceConfig.
getAggregator() - Method in interface io.opentelemetry.sdk.metrics.aggregator.AggregatorFactory
Returns a new Aggregator.
getAggregatorFactory(InstrumentValueType) - Method in interface io.opentelemetry.sdk.metrics.view.Aggregation
Returns an AggregationFactory that can be used to produce the Aggregator that needs to be used to aggregate all the values to produce this Aggregation.
getAttributes() - Method in class io.opentelemetry.sdk.resources.Resource
Returns a map of attributes that describe the resource.
getAttributes() - Method in interface io.opentelemetry.sdk.trace.data.SpanData
Returns the attributes recorded for this Span.
getAttributes() - Method in interface io.opentelemetry.sdk.trace.Sampler.SamplingResult
Return tags which will be attached to the span.
getBooleanProperty(String, Map<String, String>) - Static method in class io.opentelemetry.sdk.common.export.ConfigBuilder
Get a boolean property from the map, null if it cannot be found or it has a wrong type.
getComponents() - Method in class io.opentelemetry.sdk.internal.ComponentRegistry
Returns a Collection view of the registered components.
getConstantLabels() - Method in class io.opentelemetry.sdk.metrics.data.MetricData.Descriptor
Returns the constant labels associated with this metric descriptor.
getCorrelationContextManager() - Static method in class io.opentelemetry.sdk.OpenTelemetrySdk
getCount() - Method in class io.opentelemetry.sdk.metrics.data.MetricData.SummaryPoint
The number of values that are being summarized.
getCurrentContext() - Method in class io.opentelemetry.sdk.correlationcontext.CorrelationContextManagerSdk
 
getDecision() - Method in interface io.opentelemetry.sdk.trace.Sampler.SamplingResult
Return decision on whether a span should be recorded, recorded and sampled or not recorded.
getDefault() - Static method in class io.opentelemetry.sdk.resources.Resource
Returns a Resource.
getDefault() - Static method in class io.opentelemetry.sdk.trace.config.TraceConfig
Returns the default TraceConfig.
getDescription() - Method in class io.opentelemetry.sdk.metrics.data.MetricData.Descriptor
Returns the description of this metric descriptor.
getDescription() - Method in interface io.opentelemetry.sdk.trace.Sampler
Returns the description of this Sampler.
getDescriptor() - Method in class io.opentelemetry.sdk.metrics.data.MetricData
Returns the MetricData.Descriptor of this metric.
getDescriptorType(InstrumentType, InstrumentValueType) - Method in interface io.opentelemetry.sdk.metrics.view.Aggregation
Returns the MetricData.Descriptor.Type that this Aggregation will produce.
getDoubleProperty(String, Map<String, String>) - Static method in class io.opentelemetry.sdk.common.export.ConfigBuilder
Get a double property from the map, null if it cannot be found or it has a wrong type.
getEmpty() - Static method in class io.opentelemetry.sdk.common.InstrumentationLibraryInfo
Returns an "empty" InstrumentationLibraryInfo.
getEmpty() - Static method in class io.opentelemetry.sdk.resources.Resource
Returns an empty Resource.
getEndEpochNanos() - Method in interface io.opentelemetry.sdk.trace.data.SpanData
Returns the end epoch timestamp in nanos of this Span.
getEpochNanos() - Method in class io.opentelemetry.sdk.metrics.data.MetricData.Point
Returns the epoch timestamp in nanos when data were collected, usually it represents the moment when Instrument.getData() was called.
getEpochNanos() - Method in interface io.opentelemetry.sdk.trace.data.SpanData.Event
Returns the epoch time in nanos of this event.
getEvents() - Method in interface io.opentelemetry.sdk.trace.data.SpanData
Returns the timed events recorded for this Span.
getFactory() - Static method in class io.opentelemetry.sdk.metrics.aggregator.DoubleLastValueAggregator
Returns an AggregatorFactory that produces DoubleLastValueAggregator instances.
getFactory() - Static method in class io.opentelemetry.sdk.metrics.aggregator.DoubleMinMaxSumCount
 
getFactory() - Static method in class io.opentelemetry.sdk.metrics.aggregator.DoubleSumAggregator
Returns an AggregatorFactory that produces DoubleSumAggregator instances.
getFactory() - Static method in class io.opentelemetry.sdk.metrics.aggregator.LongLastValueAggregator
Returns an AggregatorFactory that produces LongLastValueAggregator instances.
getFactory() - Static method in class io.opentelemetry.sdk.metrics.aggregator.LongMinMaxSumCount
 
getFactory() - Static method in class io.opentelemetry.sdk.metrics.aggregator.LongSumAggregator
Returns an AggregatorFactory that produces LongSumAggregator instances.
getFactory() - Static method in class io.opentelemetry.sdk.metrics.aggregator.NoopAggregator
 
getHasEnded() - Method in interface io.opentelemetry.sdk.trace.data.SpanData
Returns whether this Span has already been ended.
getHasRemoteParent() - Method in interface io.opentelemetry.sdk.trace.data.SpanData
Returns true if the parent is on a different process.
getInstance() - Static method in class io.opentelemetry.sdk.internal.MillisClock
Returns a MillisClock.
getInstrumentationLibraryInfo() - Method in class io.opentelemetry.sdk.metrics.data.MetricData
Returns the instrumentation library specified when creating the Meter which created the Instrument that produces MetricData.
getInstrumentationLibraryInfo() - Method in interface io.opentelemetry.sdk.trace.data.SpanData
Returns the instrumentation library specified when creating the tracer which produced this Span.
getInstrumentationLibraryInfo() - Method in interface io.opentelemetry.sdk.trace.ReadableSpan
Returns the instrumentation library specified when creating the tracer which produced this span.
getIntProperty(String, Map<String, String>) - Static method in class io.opentelemetry.sdk.common.export.ConfigBuilder
Get an integer property from the map, null if it cannot be found or it has a wrong type.
getKind() - Method in interface io.opentelemetry.sdk.trace.data.SpanData
Returns the kind of this Span.
getLabels() - Method in class io.opentelemetry.sdk.metrics.data.MetricData.Point
Returns the labels associated with this Point.
getLatencyNanos() - Method in interface io.opentelemetry.sdk.trace.ReadableSpan
Returns the latency of the Span in nanos.
getLinks() - Method in interface io.opentelemetry.sdk.trace.data.SpanData
Returns links recorded for this Span.
getLongProperty(String, Map<String, String>) - Static method in class io.opentelemetry.sdk.common.export.ConfigBuilder
Get a long property from the map, null if it cannot be found or it has a wrong type.
getMaxLengthOfAttributeValues() - Method in class io.opentelemetry.sdk.trace.config.TraceConfig
Returns the global default max length of string attribute value in characters.
getMaxNumberOfAttributes() - Method in class io.opentelemetry.sdk.trace.config.TraceConfig
Returns the global default max number of attributes per Span.
getMaxNumberOfAttributesPerEvent() - Method in class io.opentelemetry.sdk.trace.config.TraceConfig
Returns the global default max number of attributes per Event.
getMaxNumberOfAttributesPerLink() - Method in class io.opentelemetry.sdk.trace.config.TraceConfig
Returns the global default max number of attributes per Link.
getMaxNumberOfEvents() - Method in class io.opentelemetry.sdk.trace.config.TraceConfig
Returns the global default max number of Events per Span.
getMaxNumberOfLinks() - Method in class io.opentelemetry.sdk.trace.config.TraceConfig
Returns the global default max number of Link entries per Span.
getMeterProvider() - Static method in class io.opentelemetry.sdk.OpenTelemetrySdk
Returns a MeterSdkProvider.
getMetricProducer() - Method in class io.opentelemetry.sdk.metrics.MeterSdkProvider
Returns the MetricProducer that can be used to retrieve metrics from this MeterSdkProvider.
getName() - Method in class io.opentelemetry.sdk.common.InstrumentationLibraryInfo
Returns the name of the instrumentation library.
getName() - Method in class io.opentelemetry.sdk.metrics.data.MetricData.Descriptor
Returns the metric descriptor name.
getName() - Method in interface io.opentelemetry.sdk.trace.data.SpanData
Returns the name of this Span.
getName() - Method in interface io.opentelemetry.sdk.trace.ReadableSpan
Returns the name of the Span.
getParentSpanId() - Method in interface io.opentelemetry.sdk.trace.data.SpanData
Returns the parent SpanId.
getPercentile() - Method in class io.opentelemetry.sdk.metrics.data.MetricData.ValueAtPercentile
The percentile of a distribution.
getPercentileValues() - Method in class io.opentelemetry.sdk.metrics.data.MetricData.SummaryPoint
Percentile values in the summarization.
getPoints() - Method in class io.opentelemetry.sdk.metrics.data.MetricData
Returns the data MetricData.Points for this metric.
getResource() - Method in class io.opentelemetry.sdk.metrics.data.MetricData
Returns the resource of this MetricData.
getResource() - Method in interface io.opentelemetry.sdk.trace.data.SpanData
Returns the resource of this Span.
getSampler() - Method in class io.opentelemetry.sdk.trace.config.TraceConfig
Returns the global default Sampler which is used when constructing a new Span.
getSpanContext() - Method in interface io.opentelemetry.sdk.trace.ReadableSpan
Returns the SpanContext of the Span.
getSpanId() - Method in interface io.opentelemetry.sdk.trace.data.SpanData
Gets the span id for this span.
getStartEpochNanos() - Method in class io.opentelemetry.sdk.metrics.data.MetricData.Point
Returns the start epoch timestamp in nanos of this Instrument, usually the time when the metric was created or an aggregation was enabled.
getStartEpochNanos() - Method in interface io.opentelemetry.sdk.trace.data.SpanData
Returns the start epoch timestamp in nanos of this Span.
getStatus() - Method in interface io.opentelemetry.sdk.trace.data.SpanData
Returns the Status.
getStringProperty(String, Map<String, String>) - Static method in class io.opentelemetry.sdk.common.export.ConfigBuilder
Get a String property from the map, null if it cannot be found.
getSum() - Method in class io.opentelemetry.sdk.metrics.data.MetricData.SummaryPoint
The sum of all the values that are being summarized.
getTelemetrySdk() - Static method in class io.opentelemetry.sdk.resources.Resource
Returns the telemetry sdk Resource.
getTotalAttributeCount() - Method in interface io.opentelemetry.sdk.trace.data.SpanData.Event
The total number of attributes that were recorded on this Event.
getTotalAttributeCount() - Method in interface io.opentelemetry.sdk.trace.data.SpanData
The total number of attributes that were recorded on this span.
getTotalAttributeCount() - Method in class io.opentelemetry.sdk.trace.data.SpanData.Link
The total number of attributes that were recorded on this Link.
getTotalRecordedEvents() - Method in interface io.opentelemetry.sdk.trace.data.SpanData
The total number of SpanData.Event events that were recorded on this span.
getTotalRecordedLinks() - Method in interface io.opentelemetry.sdk.trace.data.SpanData
The total number of SpanData.Link links that were recorded on this span.
getTraceFlags() - Method in interface io.opentelemetry.sdk.trace.data.SpanData
Gets the trace flags for this span.
getTraceId() - Method in interface io.opentelemetry.sdk.trace.data.SpanData
Gets the trace id for this span.
getTracerProvider() - Static method in class io.opentelemetry.sdk.OpenTelemetrySdk
getTraceState() - Method in interface io.opentelemetry.sdk.trace.data.SpanData
Gets the TraceState for this span.
getType() - Method in class io.opentelemetry.sdk.metrics.data.MetricData.Descriptor
Returns the type of this metric descriptor.
getUnit() - Method in class io.opentelemetry.sdk.metrics.data.MetricData.Descriptor
Returns the unit of this metric descriptor.
getUnit(String) - Method in interface io.opentelemetry.sdk.metrics.view.Aggregation
Returns the unit that this Aggregation will produce.
getValue() - Method in class io.opentelemetry.sdk.metrics.data.MetricData.DoublePoint
Returns the value of the data point.
getValue() - Method in class io.opentelemetry.sdk.metrics.data.MetricData.LongPoint
Returns the value of the data point.
getValue() - Method in class io.opentelemetry.sdk.metrics.data.MetricData.ValueAtPercentile
The value at the given percentile of a distribution.
getVersion() - Method in class io.opentelemetry.sdk.common.InstrumentationLibraryInfo
Returns the version of the instrumentation library, or null if not available.

H

hasEnded() - Method in interface io.opentelemetry.sdk.trace.ReadableSpan
Returns whether this Span has already been ended.
hashCode() - Method in class io.opentelemetry.sdk.resources.Resource
 
HOST_HOSTNAME - Static variable in class io.opentelemetry.sdk.resources.ResourceConstants
Hostname of the host.
HOST_ID - Static variable in class io.opentelemetry.sdk.resources.ResourceConstants
Unique host id.
HOST_IMAGE_ID - Static variable in class io.opentelemetry.sdk.resources.ResourceConstants
VM image id.
HOST_IMAGE_NAME - Static variable in class io.opentelemetry.sdk.resources.ResourceConstants
Name of the VM image or OS install the host was instantiated from.
HOST_IMAGE_VERSION - Static variable in class io.opentelemetry.sdk.resources.ResourceConstants
The version string of the VM image.
HOST_NAME - Static variable in class io.opentelemetry.sdk.resources.ResourceConstants
Name of the host.
HOST_TYPE - Static variable in class io.opentelemetry.sdk.resources.ResourceConstants
Type of host.

I

IdsGenerator - Interface in io.opentelemetry.sdk.trace
Interface that is used by the TracerSdk to generate new SpanId and TraceId.
InstrumentationLibraryInfo - Class in io.opentelemetry.sdk.common
Holds information about the instrumentation library specified when creating an instance of Tracer using TracerSdkProvider.
InstrumentType - Enum in io.opentelemetry.sdk.metrics.common
All instrument types available in the metric package.
InstrumentValueType - Enum in io.opentelemetry.sdk.metrics.common
All possible types for the values recorded via the instruments.
IntervalMetricReader - Class in io.opentelemetry.sdk.metrics.export
Wraps a list of MetricProducers and automatically reads and exports the metrics every export interval.
IntervalMetricReader.Builder - Class in io.opentelemetry.sdk.metrics.export
io.opentelemetry.sdk - package io.opentelemetry.sdk
 
io.opentelemetry.sdk.common - package io.opentelemetry.sdk.common
 
io.opentelemetry.sdk.common.export - package io.opentelemetry.sdk.common.export
 
io.opentelemetry.sdk.correlationcontext - package io.opentelemetry.sdk.correlationcontext
 
io.opentelemetry.sdk.correlationcontext.spi - package io.opentelemetry.sdk.correlationcontext.spi
 
io.opentelemetry.sdk.internal - package io.opentelemetry.sdk.internal
 
io.opentelemetry.sdk.metrics - package io.opentelemetry.sdk.metrics
 
io.opentelemetry.sdk.metrics.aggregator - package io.opentelemetry.sdk.metrics.aggregator
 
io.opentelemetry.sdk.metrics.common - package io.opentelemetry.sdk.metrics.common
 
io.opentelemetry.sdk.metrics.data - package io.opentelemetry.sdk.metrics.data
 
io.opentelemetry.sdk.metrics.export - package io.opentelemetry.sdk.metrics.export
Utilities that allow to export metrics to the OpenTelemetry exporters.
io.opentelemetry.sdk.metrics.spi - package io.opentelemetry.sdk.metrics.spi
 
io.opentelemetry.sdk.metrics.view - package io.opentelemetry.sdk.metrics.view
 
io.opentelemetry.sdk.resources - package io.opentelemetry.sdk.resources
API for resource information population.
io.opentelemetry.sdk.trace - package io.opentelemetry.sdk.trace
 
io.opentelemetry.sdk.trace.config - package io.opentelemetry.sdk.trace.config
Classes that holds global trace parameters
io.opentelemetry.sdk.trace.data - package io.opentelemetry.sdk.trace.data
 
io.opentelemetry.sdk.trace.data.test - package io.opentelemetry.sdk.trace.data.test
 
io.opentelemetry.sdk.trace.export - package io.opentelemetry.sdk.trace.export
Utilities that allows different tracing services to export recorded data for sampled spans in their own format.
io.opentelemetry.sdk.trace.spi - package io.opentelemetry.sdk.trace.spi
 
isEndRequired() - Method in class io.opentelemetry.sdk.trace.export.BatchSpanProcessor
 
isEndRequired() - Method in class io.opentelemetry.sdk.trace.export.SimpleSpanProcessor
 
isEndRequired() - Method in class io.opentelemetry.sdk.trace.MultiSpanProcessor
 
isEndRequired() - Method in interface io.opentelemetry.sdk.trace.SpanProcessor
Returns true if this SpanProcessor requires end events.
isStartRequired() - Method in class io.opentelemetry.sdk.trace.export.BatchSpanProcessor
 
isStartRequired() - Method in class io.opentelemetry.sdk.trace.export.SimpleSpanProcessor
 
isStartRequired() - Method in class io.opentelemetry.sdk.trace.MultiSpanProcessor
 
isStartRequired() - Method in interface io.opentelemetry.sdk.trace.SpanProcessor
Returns true if this SpanProcessor requires start events.

K

K8S_CLUSTER - Static variable in class io.opentelemetry.sdk.resources.ResourceConstants
The name of the cluster that the pod is running in.
K8S_DEPLOYMENT - Static variable in class io.opentelemetry.sdk.resources.ResourceConstants
The name of the deployment.
K8S_NAMESPACE - Static variable in class io.opentelemetry.sdk.resources.ResourceConstants
The name of the namespace that the pod is running in.
K8S_POD - Static variable in class io.opentelemetry.sdk.resources.ResourceConstants
The name of the pod.

L

lastValue() - Static method in class io.opentelemetry.sdk.metrics.view.Aggregations
Returns an Aggregation that calculates the last value of all recorded measurements.
LIBRARY_LANGUAGE - Static variable in class io.opentelemetry.sdk.resources.ResourceConstants
The language of telemetry library and of the code instrumented with it.
LIBRARY_NAME - Static variable in class io.opentelemetry.sdk.resources.ResourceConstants
The name of the telemetry library.
LIBRARY_VERSION - Static variable in class io.opentelemetry.sdk.resources.ResourceConstants
The version string of the library.
LongLastValueAggregator - Class in io.opentelemetry.sdk.metrics.aggregator
Aggregator that aggregates recorded values by storing the last recorded value.
LongLastValueAggregator() - Constructor for class io.opentelemetry.sdk.metrics.aggregator.LongLastValueAggregator
 
LongMinMaxSumCount - Class in io.opentelemetry.sdk.metrics.aggregator
 
LongSumAggregator - Class in io.opentelemetry.sdk.metrics.aggregator
 
LongSumAggregator() - Constructor for class io.opentelemetry.sdk.metrics.aggregator.LongSumAggregator
 

M

merge(Resource) - Method in class io.opentelemetry.sdk.resources.Resource
Returns a new, merged Resource by merging the current Resource with the other Resource.
mergeToAndReset(Aggregator) - Method in interface io.opentelemetry.sdk.metrics.aggregator.Aggregator
Merges the current value into the given aggregator and resets the current value in this Aggregator.
mergeToAndReset(Aggregator) - Method in class io.opentelemetry.sdk.metrics.aggregator.NoopAggregator
 
MeterProviderFactorySdk - Class in io.opentelemetry.sdk.metrics.spi
MeterProvider provider implementation for MeterProviderFactory.
MeterProviderFactorySdk() - Constructor for class io.opentelemetry.sdk.metrics.spi.MeterProviderFactorySdk
 
MeterSdkProvider - Class in io.opentelemetry.sdk.metrics
Meter provider implementation for MeterProvider.
MeterSdkProvider.Builder - Class in io.opentelemetry.sdk.metrics
Builder class for the MeterSdkProvider.
MetricData - Class in io.opentelemetry.sdk.metrics.data
A MetricData represents the data exported as part of aggregating one Instrument.
MetricData.Descriptor - Class in io.opentelemetry.sdk.metrics.data
MetricData.Descriptor defines metadata about the MetricData type and its schema.
MetricData.Descriptor.Type - Enum in io.opentelemetry.sdk.metrics.data
The kind of metric.
MetricData.DoublePoint - Class in io.opentelemetry.sdk.metrics.data
DoublePoint is a single data point in a timeseries that describes the time-varying value of a double metric.
MetricData.LongPoint - Class in io.opentelemetry.sdk.metrics.data
LongPoint is a single data point in a timeseries that describes the time-varying values of a int64 metric.
MetricData.Point - Class in io.opentelemetry.sdk.metrics.data
 
MetricData.SummaryPoint - Class in io.opentelemetry.sdk.metrics.data
SummaryPoint is a single data point that summarizes the values in a time series of numeric values.
MetricData.ValueAtPercentile - Class in io.opentelemetry.sdk.metrics.data
 
MetricExporter - Interface in io.opentelemetry.sdk.metrics.export
MetricExporter is the interface that all "push based" metric libraries should use to export metrics to the OpenTelemetry exporters.
MetricExporter.ResultCode - Enum in io.opentelemetry.sdk.metrics.export
The possible results for the export method.
MetricProducer - Interface in io.opentelemetry.sdk.metrics.export
MetricProducer is the interface that is used to make metric data available to the OpenTelemetry exporters.
MillisClock - Class in io.opentelemetry.sdk.internal
minMaxSumCount() - Static method in class io.opentelemetry.sdk.metrics.view.Aggregations
Returns an Aggregation that calculates a simple summary of all recorded measurements.
MonotonicClock - Class in io.opentelemetry.sdk.internal
This class provides a mechanism for calculating the epoch time using System.nanoTime() and a reference epoch timestamp.
MultiSpanExporter - Class in io.opentelemetry.sdk.trace.export
Implementation of the SpanExporter that simply forwards all received spans to a list of SpanExporter.
MultiSpanProcessor - Class in io.opentelemetry.sdk.trace
Implementation of the SpanProcessor that simply forwards all received events to a list of SpanProcessors.

N

nanoTime() - Method in interface io.opentelemetry.sdk.common.Clock
Returns a time measurement with nanosecond precision that can only be used to calculate elapsed time.
nanoTime() - Method in class io.opentelemetry.sdk.internal.MillisClock
 
nanoTime() - Method in class io.opentelemetry.sdk.internal.MonotonicClock
 
nanoTime() - Method in class io.opentelemetry.sdk.internal.TestClock
 
newBuilder() - Static method in class io.opentelemetry.sdk.trace.data.test.TestSpanData
Creates a new Builder for creating an SpanData instance.
newBuilder(SpanExporter) - Static method in class io.opentelemetry.sdk.trace.export.BatchSpanProcessor
Returns a new Builder for BatchSpanProcessor.
newBuilder(SpanExporter) - Static method in class io.opentelemetry.sdk.trace.export.SimpleSpanProcessor
Returns a new Builder for SimpleSpanProcessor.
newComponent(InstrumentationLibraryInfo) - Method in class io.opentelemetry.sdk.internal.ComponentRegistry
 
newThread(Runnable) - Method in class io.opentelemetry.sdk.common.DaemonThreadFactory
 
NoopAggregator - Class in io.opentelemetry.sdk.metrics.aggregator
 
normalize(String) - Method in enum io.opentelemetry.sdk.common.export.ConfigBuilder.NamingConvention
 
normalize(Map<String, String>) - Method in enum io.opentelemetry.sdk.common.export.ConfigBuilder.NamingConvention
Normalize the key value of the map using the class ConfigBuilder.NamingConvention.normalize(String) method.
now() - Method in interface io.opentelemetry.sdk.common.Clock
Obtains the current epoch timestamp in nanos from this clock.
now() - Method in class io.opentelemetry.sdk.internal.MillisClock
 
now() - Method in class io.opentelemetry.sdk.internal.MonotonicClock
Returns the current epoch timestamp in nanos calculated using System.nanoTime() since the reference time read in the constructor.
now() - Method in class io.opentelemetry.sdk.internal.TestClock
 

O

onEnd(ReadableSpan) - Method in class io.opentelemetry.sdk.trace.export.BatchSpanProcessor
 
onEnd(ReadableSpan) - Method in class io.opentelemetry.sdk.trace.export.SimpleSpanProcessor
 
onEnd(ReadableSpan) - Method in class io.opentelemetry.sdk.trace.MultiSpanProcessor
 
onEnd(ReadableSpan) - Method in interface io.opentelemetry.sdk.trace.SpanProcessor
Called when a Span is ended, if the Span.isRecording() returns true.
onStart(ReadableSpan) - Method in class io.opentelemetry.sdk.trace.export.BatchSpanProcessor
 
onStart(ReadableSpan) - Method in class io.opentelemetry.sdk.trace.export.SimpleSpanProcessor
 
onStart(ReadableSpan) - Method in class io.opentelemetry.sdk.trace.MultiSpanProcessor
 
onStart(ReadableSpan) - Method in interface io.opentelemetry.sdk.trace.SpanProcessor
Called when a Span is started, if the Span.isRecording() returns true.
OpenTelemetrySdk - Class in io.opentelemetry.sdk
This class provides a static global accessor for SDK telemetry objects TracerSdkProvider, MeterSdkProvider and CorrelationContextManagerSdk.

P

parentOrElse(Sampler) - Static method in class io.opentelemetry.sdk.trace.Samplers
Returns a Sampler that always makes the same decision as the parent Span to whether or not to sample.
probability(double) - Static method in class io.opentelemetry.sdk.trace.Samplers
Returns a new Probability Sampler.

R

RandomIdsGenerator - Class in io.opentelemetry.sdk.trace
The default IdsGenerator which generates IDs as random numbers using ThreadLocalRandom.
RandomIdsGenerator() - Constructor for class io.opentelemetry.sdk.trace.RandomIdsGenerator
 
ReadableSpan - Interface in io.opentelemetry.sdk.trace
The extend Span interface used by the SDK.
readEnvironmentVariables() - Method in class io.opentelemetry.sdk.common.export.ConfigBuilder
Sets the configuration values from environment variables.
readEnvironmentVariables() - Method in class io.opentelemetry.sdk.trace.config.TraceConfig.Builder
* Sets the configuration values from environment variables for only the available keys.
readProperties(Properties) - Method in class io.opentelemetry.sdk.common.export.ConfigBuilder
Sets the configuration values from the given Properties object.
readProperties(Properties) - Method in class io.opentelemetry.sdk.trace.config.TraceConfig.Builder
* Sets the configuration values from the given properties object for only the available keys.
readSystemProperties() - Method in class io.opentelemetry.sdk.common.export.ConfigBuilder
Sets the configuration values from system properties.
readSystemProperties() - Method in class io.opentelemetry.sdk.trace.config.TraceConfig.Builder
* Sets the configuration values from system properties for only the available keys.
recordDouble(double) - Method in interface io.opentelemetry.sdk.metrics.aggregator.Aggregator
Updates the current aggregator with a newly recorded double value.
recordDouble(double) - Method in class io.opentelemetry.sdk.metrics.aggregator.DoubleLastValueAggregator
 
recordDouble(double) - Method in class io.opentelemetry.sdk.metrics.aggregator.DoubleMinMaxSumCount
 
recordDouble(double) - Method in class io.opentelemetry.sdk.metrics.aggregator.DoubleSumAggregator
 
recordDouble(double) - Method in class io.opentelemetry.sdk.metrics.aggregator.NoopAggregator
 
recordLong(long) - Method in interface io.opentelemetry.sdk.metrics.aggregator.Aggregator
Updates the current aggregator with a newly recorded long value.
recordLong(long) - Method in class io.opentelemetry.sdk.metrics.aggregator.LongLastValueAggregator
 
recordLong(long) - Method in class io.opentelemetry.sdk.metrics.aggregator.LongMinMaxSumCount
 
recordLong(long) - Method in class io.opentelemetry.sdk.metrics.aggregator.LongSumAggregator
 
recordLong(long) - Method in class io.opentelemetry.sdk.metrics.aggregator.NoopAggregator
 
Resource - Class in io.opentelemetry.sdk.resources
Resource represents a resource, which capture identifying information about the entities for which signals (stats or traces) are reported.
ResourceConstants - Class in io.opentelemetry.sdk.resources
Provides constants for resource semantic conventions defined by the OpenTelemetry specification.

S

Sampler - Interface in io.opentelemetry.sdk.trace
Sampler is used to make decisions on Span sampling.
Sampler.Decision - Enum in io.opentelemetry.sdk.trace
A decision on whether a span should be recorded, recorded and sampled or not recorded.
Sampler.SamplingResult - Interface in io.opentelemetry.sdk.trace
Sampling result returned by Sampler#shouldSample(SpanContext, TraceId, String, Kind, ReadableAttributes, List).
Samplers - Class in io.opentelemetry.sdk.trace
Static class to access a set of pre-defined Samplers.
samplingResult(Sampler.Decision, Attributes) - Static method in class io.opentelemetry.sdk.trace.Samplers
Returns a Sampler.SamplingResult with the given attributes and Sampler.SamplingResult.getDecision() returning decision.
SERVICE_INSTANCE - Static variable in class io.opentelemetry.sdk.resources.ResourceConstants
The string ID of the service instance.
SERVICE_NAME - Static variable in class io.opentelemetry.sdk.resources.ResourceConstants
Logical name of the service.
SERVICE_NAMESPACE - Static variable in class io.opentelemetry.sdk.resources.ResourceConstants
A namespace for `service.name`.
SERVICE_VERSION - Static variable in class io.opentelemetry.sdk.resources.ResourceConstants
The version string of the service API or implementation.
setAttributes(ReadableAttributes) - Method in class io.opentelemetry.sdk.trace.data.test.TestSpanData.Builder
Set the attributes that are associated with this span, as a Map of String keys to AttributeValue instances.
setClock(Clock) - Method in class io.opentelemetry.sdk.metrics.MeterSdkProvider.Builder
Assign a Clock.
setClock(Clock) - Method in class io.opentelemetry.sdk.trace.TracerSdkProvider.Builder
Assign a Clock.
setEndEpochNanos(long) - Method in class io.opentelemetry.sdk.trace.data.test.TestSpanData.Builder
Set the end timestamp of the span.
setEvents(List<SpanData.Event>) - Method in class io.opentelemetry.sdk.trace.data.test.TestSpanData.Builder
Set timed events that are associated with this span.
setExporterTimeoutMillis(int) - Method in class io.opentelemetry.sdk.trace.export.BatchSpanProcessor.Builder
Sets the maximum time an exporter will be allowed to run before being cancelled.
setExportIntervalMillis(long) - Method in class io.opentelemetry.sdk.metrics.export.IntervalMetricReader.Builder
Sets the export interval.
setExportOnlySampled(boolean) - Method in class io.opentelemetry.sdk.trace.export.BatchSpanProcessor.Builder
Set whether only sampled spans should be reported.
setExportOnlySampled(boolean) - Method in class io.opentelemetry.sdk.trace.export.SimpleSpanProcessor.Builder
Set whether only sampled spans should be exported.
setHasEnded(boolean) - Method in class io.opentelemetry.sdk.trace.data.test.TestSpanData.Builder
Sets to true if the span has been ended.
setHasRemoteParent(boolean) - Method in class io.opentelemetry.sdk.trace.data.test.TestSpanData.Builder
Sets to true if the span has a parent on a different process.
setIdsGenerator(IdsGenerator) - Method in class io.opentelemetry.sdk.trace.TracerSdkProvider.Builder
Assign an IdsGenerator.
setInstrumentationLibraryInfo(InstrumentationLibraryInfo) - Method in class io.opentelemetry.sdk.trace.data.test.TestSpanData.Builder
Sets the instrumentation library of the tracer which created this span.
setKind(Span.Kind) - Method in class io.opentelemetry.sdk.trace.data.test.TestSpanData.Builder
Set the kind of span.
setLinks(List<SpanData.Link>) - Method in class io.opentelemetry.sdk.trace.data.test.TestSpanData.Builder
Set the links associated with this span.
setMaxExportBatchSize(int) - Method in class io.opentelemetry.sdk.trace.export.BatchSpanProcessor.Builder
Sets the maximum batch size for every export.
setMaxLengthOfAttributeValues(int) - Method in class io.opentelemetry.sdk.trace.config.TraceConfig.Builder
Sets the global default max length of string attribute value in characters.
setMaxNumberOfAttributes(int) - Method in class io.opentelemetry.sdk.trace.config.TraceConfig.Builder
Sets the global default max number of attributes per Span.
setMaxNumberOfAttributesPerEvent(int) - Method in class io.opentelemetry.sdk.trace.config.TraceConfig.Builder
Sets the global default max number of attributes per Event.
setMaxNumberOfAttributesPerLink(int) - Method in class io.opentelemetry.sdk.trace.config.TraceConfig.Builder
Sets the global default max number of attributes per Link.
setMaxNumberOfEvents(int) - Method in class io.opentelemetry.sdk.trace.config.TraceConfig.Builder
Sets the global default max number of Events per Span.
setMaxNumberOfLinks(int) - Method in class io.opentelemetry.sdk.trace.config.TraceConfig.Builder
Sets the global default max number of Link entries per Span.
setMaxQueueSize(int) - Method in class io.opentelemetry.sdk.trace.export.BatchSpanProcessor.Builder
Sets the maximum number of Spans that are kept in the queue before start dropping.
setMetricExporter(MetricExporter) - Method in class io.opentelemetry.sdk.metrics.export.IntervalMetricReader.Builder
Sets the exporter to be called when export metrics.
setMetricProducers(Collection<MetricProducer>) - Method in class io.opentelemetry.sdk.metrics.export.IntervalMetricReader.Builder
Sets a collection of MetricProducer from where the metrics should be read.
setName(String) - Method in class io.opentelemetry.sdk.trace.data.test.TestSpanData.Builder
Set the name of the span.
setParentSpanId(SpanId) - Method in class io.opentelemetry.sdk.trace.data.test.TestSpanData.Builder
The parent span id associated for this span, which may be null.
setResource(Resource) - Method in class io.opentelemetry.sdk.metrics.MeterSdkProvider.Builder
Assign a Resource to be attached to all Spans created by Tracers.
setResource(Resource) - Method in class io.opentelemetry.sdk.trace.data.test.TestSpanData.Builder
Set the Resource associated with this span.
setResource(Resource) - Method in class io.opentelemetry.sdk.trace.TracerSdkProvider.Builder
Assign a Resource to be attached to all Spans created by Tracers.
setSampler(Sampler) - Method in class io.opentelemetry.sdk.trace.config.TraceConfig.Builder
Sets the global default Sampler.
setSamplerProbability(double) - Method in class io.opentelemetry.sdk.trace.config.TraceConfig.Builder
Sets the global default Sampler.
setScheduleDelayMillis(long) - Method in class io.opentelemetry.sdk.trace.export.BatchSpanProcessor.Builder
Sets the delay interval between two consecutive exports.
setSpanId(SpanId) - Method in class io.opentelemetry.sdk.trace.data.test.TestSpanData.Builder
Set the span id on this builder.
setStartEpochNanos(long) - Method in class io.opentelemetry.sdk.trace.data.test.TestSpanData.Builder
Set the start timestamp of the span.
setStatus(Status) - Method in class io.opentelemetry.sdk.trace.data.test.TestSpanData.Builder
Set the status for this span.
setTime(long) - Method in class io.opentelemetry.sdk.internal.TestClock
Sets the time.
setTotalAttributeCount(int) - Method in class io.opentelemetry.sdk.trace.data.test.TestSpanData.Builder
Set the total number of attributes recorded on this span.
setTotalRecordedEvents(int) - Method in class io.opentelemetry.sdk.trace.data.test.TestSpanData.Builder
Set the total number of events recorded on this span.
setTotalRecordedLinks(int) - Method in class io.opentelemetry.sdk.trace.data.test.TestSpanData.Builder
Set the total number of links recorded on this span.
setTraceFlags(TraceFlags) - Method in class io.opentelemetry.sdk.trace.data.test.TestSpanData.Builder
Set the TraceFlags on this builder.
setTraceId(TraceId) - Method in class io.opentelemetry.sdk.trace.data.test.TestSpanData.Builder
Set the trace id on this builder.
setTraceState(TraceState) - Method in class io.opentelemetry.sdk.trace.data.test.TestSpanData.Builder
Set the TraceState on this builder.
shouldSample(SpanContext, TraceId, String, Span.Kind, ReadableAttributes, List<Link>) - Method in interface io.opentelemetry.sdk.trace.Sampler
Called during Span creation to make a sampling samplingResult.
shouldTruncateStringAttributeValues() - Method in class io.opentelemetry.sdk.trace.config.TraceConfig
 
shutdown() - Method in class io.opentelemetry.sdk.metrics.export.IntervalMetricReader
Stops the scheduled task and calls export one more time.
shutdown() - Method in interface io.opentelemetry.sdk.metrics.export.MetricExporter
Called when the associated IntervalMetricReader is shutdown.
shutdown() - Method in class io.opentelemetry.sdk.trace.export.BatchSpanProcessor
 
shutdown() - Method in class io.opentelemetry.sdk.trace.export.MultiSpanExporter
 
shutdown() - Method in class io.opentelemetry.sdk.trace.export.SimpleSpanProcessor
 
shutdown() - Method in interface io.opentelemetry.sdk.trace.export.SpanExporter
Called when TracerSdkProvider.shutdown() is called, if this SpanExporter is register to a TracerSdkProvider object.
shutdown() - Method in class io.opentelemetry.sdk.trace.MultiSpanProcessor
 
shutdown() - Method in interface io.opentelemetry.sdk.trace.SpanProcessor
Called when TracerSdkProvider.shutdown() is called.
shutdown() - Method in class io.opentelemetry.sdk.trace.TracerSdkProvider
Attempts to stop all the activity for this Tracer.
SimpleSpanProcessor - Class in io.opentelemetry.sdk.trace.export
An implementation of the SpanProcessor that converts the ReadableSpan to SpanData and passes it to the configured exporter.
SimpleSpanProcessor.Builder - Class in io.opentelemetry.sdk.trace.export
Builder class for SimpleSpanProcessor.
SpanData - Interface in io.opentelemetry.sdk.trace.data
Immutable representation of all data collected by the Span class.
SpanData.Event - Interface in io.opentelemetry.sdk.trace.data
 
SpanData.Link - Class in io.opentelemetry.sdk.trace.data
An immutable implementation of Link.
SpanExporter - Interface in io.opentelemetry.sdk.trace.export
An interface that allows different tracing services to export recorded data for sampled spans in their own format.
SpanExporter.ResultCode - Enum in io.opentelemetry.sdk.trace.export
The possible results for the export method.
SpanProcessor - Interface in io.opentelemetry.sdk.trace
SpanProcessor is the interface TracerSdk uses to allow synchronous hooks for when a Span is started or when a Span is ended.
sum() - Static method in class io.opentelemetry.sdk.metrics.view.Aggregations
Returns an Aggregation that calculates sum of recorded measurements.

T

TestClock - Class in io.opentelemetry.sdk.internal
A mutable Clock that allows the time to be set for testing.
TestSpanData - Class in io.opentelemetry.sdk.trace.data.test
Immutable representation of all data collected by the Span class.
TestSpanData() - Constructor for class io.opentelemetry.sdk.trace.data.test.TestSpanData
 
TestSpanData.Builder - Class in io.opentelemetry.sdk.trace.data.test
A Builder class for TestSpanData.
toBuilder() - Method in class io.opentelemetry.sdk.trace.config.TraceConfig
Returns a TraceConfig.Builder initialized to the same property values as the current instance.
toPoint(long, long, Labels) - Method in interface io.opentelemetry.sdk.metrics.aggregator.Aggregator
Returns the Point with the given properties and the value from this Aggregation.
toPoint(long, long, Labels) - Method in class io.opentelemetry.sdk.metrics.aggregator.DoubleLastValueAggregator
 
toPoint(long, long, Labels) - Method in class io.opentelemetry.sdk.metrics.aggregator.DoubleMinMaxSumCount
 
toPoint(long, long, Labels) - Method in class io.opentelemetry.sdk.metrics.aggregator.DoubleSumAggregator
 
toPoint(long, long, Labels) - Method in class io.opentelemetry.sdk.metrics.aggregator.LongLastValueAggregator
 
toPoint(long, long, Labels) - Method in class io.opentelemetry.sdk.metrics.aggregator.LongMinMaxSumCount
 
toPoint(long, long, Labels) - Method in class io.opentelemetry.sdk.metrics.aggregator.LongSumAggregator
 
toPoint(long, long, Labels) - Method in class io.opentelemetry.sdk.metrics.aggregator.NoopAggregator
 
toSpanData() - Method in interface io.opentelemetry.sdk.trace.ReadableSpan
This converts this instance into an immutable SpanData instance, for use in export.
TraceConfig - Class in io.opentelemetry.sdk.trace.config
Class that holds global trace parameters.
TraceConfig() - Constructor for class io.opentelemetry.sdk.trace.config.TraceConfig
 
TraceConfig.Builder - Class in io.opentelemetry.sdk.trace.config
Builder for TraceConfig.
TracerProviderFactorySdk - Class in io.opentelemetry.sdk.trace.spi
SDK implementation of the TracerProviderFactory for SPI.
TracerProviderFactorySdk() - Constructor for class io.opentelemetry.sdk.trace.spi.TracerProviderFactorySdk
 
TracerSdkProvider - Class in io.opentelemetry.sdk.trace
Tracer provider implementation for TracerProvider.
TracerSdkProvider.Builder - Class in io.opentelemetry.sdk.trace
Builder class for the TracerSdkFactory.

U

UNLIMITED_ATTRIBUTE_LENGTH - Static variable in class io.opentelemetry.sdk.trace.config.TraceConfig
 
updateActiveTraceConfig(TraceConfig) - Method in class io.opentelemetry.sdk.trace.TracerSdkProvider
Updates the active TraceConfig.

V

valueOf(String) - Static method in enum io.opentelemetry.sdk.common.export.ConfigBuilder.NamingConvention
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.opentelemetry.sdk.metrics.common.InstrumentType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.opentelemetry.sdk.metrics.common.InstrumentValueType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.opentelemetry.sdk.metrics.data.MetricData.Descriptor.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.opentelemetry.sdk.metrics.export.MetricExporter.ResultCode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.opentelemetry.sdk.trace.export.SpanExporter.ResultCode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.opentelemetry.sdk.trace.Sampler.Decision
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.opentelemetry.sdk.common.export.ConfigBuilder.NamingConvention
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.opentelemetry.sdk.metrics.common.InstrumentType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.opentelemetry.sdk.metrics.common.InstrumentValueType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.opentelemetry.sdk.metrics.data.MetricData.Descriptor.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.opentelemetry.sdk.metrics.export.MetricExporter.ResultCode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.opentelemetry.sdk.trace.export.SpanExporter.ResultCode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.opentelemetry.sdk.trace.Sampler.Decision
Returns an array containing the constants of this enum type, in the order they are declared.

W

withContext(CorrelationContext) - Method in class io.opentelemetry.sdk.correlationcontext.CorrelationContextManagerSdk
 
A B C D E F G H I K L M N O P R S T U V W 
Skip navigation links