Index
All Classes and Interfaces|All Packages
A
- addResource(Resource) - Method in class io.opentelemetry.sdk.trace.SdkTracerProviderBuilder
-
Merge a
Resource
with the current. - addSpanProcessor(SpanProcessor) - Method in class io.opentelemetry.sdk.trace.SdkTracerProviderBuilder
-
Add a SpanProcessor to the span pipeline that will be built.
- alwaysOff() - Static method in interface io.opentelemetry.sdk.trace.samplers.Sampler
- alwaysOn() - Static method in interface io.opentelemetry.sdk.trace.samplers.Sampler
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. - BatchSpanProcessorBuilder - Class in io.opentelemetry.sdk.trace.export
-
Builder class for
BatchSpanProcessor
. - build() - Method in class io.opentelemetry.sdk.trace.export.BatchSpanProcessorBuilder
-
Returns a new
BatchSpanProcessor
that batches, then converts spans to proto and forwards them to the givenspanExporter
. - build() - Method in class io.opentelemetry.sdk.trace.samplers.ParentBasedSamplerBuilder
-
Builds the
ParentBasedSampler
. - build() - Method in class io.opentelemetry.sdk.trace.SdkTracerProviderBuilder
-
Create a new
SdkTracerProvider
instance with the configuration. - build() - Method in class io.opentelemetry.sdk.trace.SpanLimitsBuilder
-
Builds and returns a
SpanLimits
with the values of this builder. - builder() - Static method in class io.opentelemetry.sdk.trace.SdkTracerProvider
-
Returns a new
SdkTracerProviderBuilder
forSdkTracerProvider
. - builder() - Static method in class io.opentelemetry.sdk.trace.SpanLimits
-
Returns a new
SpanLimitsBuilder
to construct aSpanLimits
. - builder(SpanExporter) - Static method in class io.opentelemetry.sdk.trace.export.BatchSpanProcessor
-
Returns a new Builder for
BatchSpanProcessor
.
C
- close() - Method in interface io.opentelemetry.sdk.trace.export.SpanExporter
-
Closes this
SpanExporter
, releasing any resources. - close() - Method in class io.opentelemetry.sdk.trace.SdkTracerProvider
-
Attempts to stop all the activity for
Tracer
s created by this provider. - close() - Method in interface io.opentelemetry.sdk.trace.SpanProcessor
-
Closes this
SpanProcessor
after processing any remaining spans, releasing any resources. - composite(SpanExporter...) - Static method in interface io.opentelemetry.sdk.trace.export.SpanExporter
-
Returns a
SpanExporter
which delegates all exports to theexporters
in order. - composite(SpanProcessor...) - Static method in interface io.opentelemetry.sdk.trace.SpanProcessor
-
Returns a
SpanProcessor
which simply delegates all processing to theprocessors
in order. - composite(Iterable<SpanExporter>) - Static method in interface io.opentelemetry.sdk.trace.export.SpanExporter
-
Returns a
SpanExporter
which delegates all exports to theexporters
in order. - composite(Iterable<SpanProcessor>) - Static method in interface io.opentelemetry.sdk.trace.SpanProcessor
-
Returns a
SpanProcessor
which simply delegates all processing to theprocessors
in order. - create(long, String, Attributes) - Static method in interface io.opentelemetry.sdk.trace.data.EventData
-
Returns a new immutable
EventData
. - create(long, String, Attributes, int) - Static method in interface io.opentelemetry.sdk.trace.data.EventData
-
Returns a new immutable
EventData
. - create(SpanContext) - Static method in interface io.opentelemetry.sdk.trace.data.LinkData
-
Returns a new immutable
LinkData
. - create(SpanContext, Attributes) - Static method in interface io.opentelemetry.sdk.trace.data.LinkData
-
Returns a new immutable
LinkData
. - create(SpanContext, Attributes, int) - Static method in interface io.opentelemetry.sdk.trace.data.LinkData
-
Returns a new immutable
LinkData
. - create(StatusCode, String) - Static method in interface io.opentelemetry.sdk.trace.data.StatusData
- create(SpanExporter) - Static method in class io.opentelemetry.sdk.trace.export.SimpleSpanProcessor
-
Returns a new
SimpleSpanProcessor
which exports spans to theSpanExporter
synchronously. - create(SamplingDecision) - Static method in interface io.opentelemetry.sdk.trace.samplers.SamplingResult
- create(SamplingDecision, Attributes) - Static method in interface io.opentelemetry.sdk.trace.samplers.SamplingResult
-
Returns a
SamplingResult
with the givenattributes
andSamplingResult.getDecision()
returningdecision
.
D
- DelegatingSpanData - Class in io.opentelemetry.sdk.trace.data
- DelegatingSpanData(SpanData) - Constructor for class io.opentelemetry.sdk.trace.data.DelegatingSpanData
- drop() - Static method in interface io.opentelemetry.sdk.trace.samplers.SamplingResult
-
Returns a
SamplingResult
corresponding toSamplingDecision.DROP
with no attributes. - DROP - Enum constant in enum io.opentelemetry.sdk.trace.samplers.SamplingDecision
-
Span is dropped.
E
- equals(Object) - Method in class io.opentelemetry.sdk.trace.data.DelegatingSpanData
- error() - Static method in interface io.opentelemetry.sdk.trace.data.StatusData
-
Returns a
StatusData
indicating an error occurred. - EventData - Interface in io.opentelemetry.sdk.trace.data
-
Data representation of an event.
- export(Collection<SpanData>) - Method in interface io.opentelemetry.sdk.trace.export.SpanExporter
-
Called to export sampled
Span
s.
F
- flush() - Method in interface io.opentelemetry.sdk.trace.export.SpanExporter
-
Exports the collection of sampled
Span
s 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.SdkTracerProvider
-
Requests the active span processor to process all span events that have not yet been processed and returns a
CompletableResultCode
which is completed when the flush is finished. - forceFlush() - Method in interface io.opentelemetry.sdk.trace.SpanProcessor
-
Processes all span events that have not yet been processed.
G
- generateSpanId() - Method in interface io.opentelemetry.sdk.trace.IdGenerator
-
Generates a new valid
SpanId
. - generateTraceId() - Method in interface io.opentelemetry.sdk.trace.IdGenerator
-
Generates a new valid
TraceId
. - get(String) - Method in class io.opentelemetry.sdk.trace.SdkTracerProvider
- get(String, String) - Method in class io.opentelemetry.sdk.trace.SdkTracerProvider
- getAttribute(AttributeKey<T>) - Method in interface io.opentelemetry.sdk.trace.ReadableSpan
-
Returns the value for the given
AttributeKey
, ornull
if not found. - getAttributes() - Method in class io.opentelemetry.sdk.trace.data.DelegatingSpanData
- getAttributes() - Method in interface io.opentelemetry.sdk.trace.data.EventData
-
Return the attributes of the
EventData
. - getAttributes() - Method in interface io.opentelemetry.sdk.trace.data.LinkData
-
Returns the set of attributes.
- 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.samplers.SamplingResult
-
Return tags which will be attached to the span.
- getDecision() - Method in interface io.opentelemetry.sdk.trace.samplers.SamplingResult
-
Return decision on whether a span should be recorded, recorded and sampled or not recorded.
- getDefault() - Static method in class io.opentelemetry.sdk.trace.SpanLimits
-
Returns the default
SpanLimits
. - getDescription() - Method in interface io.opentelemetry.sdk.trace.data.StatusData
-
Returns the description of this
Status
for human consumption. - getDescription() - Method in interface io.opentelemetry.sdk.trace.samplers.Sampler
-
Returns the description of this
Sampler
. - getDroppedAttributesCount() - Method in interface io.opentelemetry.sdk.trace.data.EventData
-
Returns the dropped attributes count of this event.
- getEndEpochNanos() - Method in class io.opentelemetry.sdk.trace.data.DelegatingSpanData
- getEndEpochNanos() - Method in interface io.opentelemetry.sdk.trace.data.SpanData
-
Returns the end epoch timestamp in nanos of this
Span
. - getEpochNanos() - Method in interface io.opentelemetry.sdk.trace.data.EventData
-
Returns the epoch time in nanos of this event.
- getEvents() - Method in class io.opentelemetry.sdk.trace.data.DelegatingSpanData
- getEvents() - Method in interface io.opentelemetry.sdk.trace.data.SpanData
-
Returns the timed events recorded for this
Span
. - getInstrumentationLibraryInfo() - Method in class io.opentelemetry.sdk.trace.data.DelegatingSpanData
-
Deprecated.
- getInstrumentationLibraryInfo() - Method in interface io.opentelemetry.sdk.trace.data.SpanData
-
Deprecated.
- getInstrumentationLibraryInfo() - Method in interface io.opentelemetry.sdk.trace.ReadableSpan
-
Deprecated.
- getInstrumentationScopeInfo() - Method in class io.opentelemetry.sdk.trace.data.DelegatingSpanData
- getInstrumentationScopeInfo() - Method in interface io.opentelemetry.sdk.trace.data.SpanData
-
Returns the instrumentation scope specified when creating the tracer which produced this
Span
. - getInstrumentationScopeInfo() - Method in interface io.opentelemetry.sdk.trace.ReadableSpan
-
Returns the instrumentation scope specified when creating the tracer which produced this span.
- getKind() - Method in class io.opentelemetry.sdk.trace.data.DelegatingSpanData
- getKind() - Method in interface io.opentelemetry.sdk.trace.data.SpanData
-
Returns the kind of this
Span
. - getKind() - Method in interface io.opentelemetry.sdk.trace.ReadableSpan
-
Returns the kind of the span.
- getLatencyNanos() - Method in interface io.opentelemetry.sdk.trace.ReadableSpan
-
Returns the latency of the
Span
in nanos. - getLinks() - Method in class io.opentelemetry.sdk.trace.data.DelegatingSpanData
- getLinks() - Method in interface io.opentelemetry.sdk.trace.data.SpanData
-
Returns links recorded for this
Span
. - getMaxAttributeValueLength() - Method in class io.opentelemetry.sdk.trace.SpanLimits
-
Returns the max number of characters for string attribute values.
- getMaxNumberOfAttributes() - Method in class io.opentelemetry.sdk.trace.SpanLimits
-
Returns the max number of attributes per
Span
. - getMaxNumberOfAttributesPerEvent() - Method in class io.opentelemetry.sdk.trace.SpanLimits
-
Returns the max number of attributes per event.
- getMaxNumberOfAttributesPerLink() - Method in class io.opentelemetry.sdk.trace.SpanLimits
-
Returns the max number of attributes per link.
- getMaxNumberOfEvents() - Method in class io.opentelemetry.sdk.trace.SpanLimits
-
Returns the max number of events per
Span
. - getMaxNumberOfLinks() - Method in class io.opentelemetry.sdk.trace.SpanLimits
-
Returns the max number of links per
Span
. - getName() - Method in class io.opentelemetry.sdk.trace.data.DelegatingSpanData
- getName() - Method in interface io.opentelemetry.sdk.trace.data.EventData
-
Return the name of the
EventData
. - 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
. - getParentSpanContext() - Method in class io.opentelemetry.sdk.trace.data.DelegatingSpanData
- getParentSpanContext() - Method in interface io.opentelemetry.sdk.trace.data.SpanData
-
Returns the parent
SpanContext
. - getParentSpanContext() - Method in interface io.opentelemetry.sdk.trace.ReadableSpan
-
Returns the parent
SpanContext
of theSpan
, orSpanContext.getInvalid()
if this is a root span. - getParentSpanId() - Method in interface io.opentelemetry.sdk.trace.data.SpanData
-
Returns the parent
SpanId
. - getResource() - Method in class io.opentelemetry.sdk.trace.data.DelegatingSpanData
- getResource() - Method in interface io.opentelemetry.sdk.trace.data.SpanData
-
Returns the resource of this
Span
. - getSampler() - Method in class io.opentelemetry.sdk.trace.SdkTracerProvider
-
Returns the configured
Sampler
. - getSpanContext() - Method in class io.opentelemetry.sdk.trace.data.DelegatingSpanData
- getSpanContext() - Method in interface io.opentelemetry.sdk.trace.data.LinkData
-
Returns the
SpanContext
of the span thisLinkData
refers to. - getSpanContext() - Method in interface io.opentelemetry.sdk.trace.data.SpanData
-
Returns the
SpanContext
of the Span. - getSpanContext() - Method in interface io.opentelemetry.sdk.trace.ReadableSpan
-
Returns the
SpanContext
of theSpan
. - getSpanId() - Method in interface io.opentelemetry.sdk.trace.data.SpanData
-
Gets the span id for this span.
- getSpanLimits() - Method in class io.opentelemetry.sdk.trace.SdkTracerProvider
-
Returns the
SpanLimits
that are currently applied to created spans. - getStartEpochNanos() - Method in class io.opentelemetry.sdk.trace.data.DelegatingSpanData
- getStartEpochNanos() - Method in interface io.opentelemetry.sdk.trace.data.SpanData
-
Returns the start epoch timestamp in nanos of this
Span
. - getStatus() - Method in class io.opentelemetry.sdk.trace.data.DelegatingSpanData
- getStatus() - Method in interface io.opentelemetry.sdk.trace.data.SpanData
-
Returns the
Status
. - getStatusCode() - Method in interface io.opentelemetry.sdk.trace.data.StatusData
-
Returns the status code.
- getTotalAttributeCount() - Method in class io.opentelemetry.sdk.trace.data.DelegatingSpanData
- getTotalAttributeCount() - Method in interface io.opentelemetry.sdk.trace.data.EventData
-
The total number of attributes that were recorded on this Event.
- getTotalAttributeCount() - Method in interface io.opentelemetry.sdk.trace.data.LinkData
-
The total number of attributes that were recorded on this Link.
- getTotalAttributeCount() - Method in interface io.opentelemetry.sdk.trace.data.SpanData
-
The total number of attributes that were recorded on this span.
- getTotalRecordedEvents() - Method in class io.opentelemetry.sdk.trace.data.DelegatingSpanData
- getTotalRecordedEvents() - Method in interface io.opentelemetry.sdk.trace.data.SpanData
-
The total number of
EventData
events that were recorded on this span. - getTotalRecordedLinks() - Method in class io.opentelemetry.sdk.trace.data.DelegatingSpanData
- getTotalRecordedLinks() - Method in interface io.opentelemetry.sdk.trace.data.SpanData
-
The total number of
LinkData
links that were recorded on this span. - getTraceId() - Method in interface io.opentelemetry.sdk.trace.data.SpanData
-
Gets the trace id for this span.
- getUpdatedTraceState(TraceState) - Method in interface io.opentelemetry.sdk.trace.samplers.SamplingResult
-
Return an optionally-updated
TraceState
, based on the parent TraceState.
H
- hasEnded() - Method in class io.opentelemetry.sdk.trace.data.DelegatingSpanData
- hasEnded() - Method in interface io.opentelemetry.sdk.trace.data.SpanData
-
Returns whether this Span has already been ended.
- hasEnded() - Method in interface io.opentelemetry.sdk.trace.ReadableSpan
-
Returns whether this Span has already been ended.
- hashCode() - Method in class io.opentelemetry.sdk.trace.data.DelegatingSpanData
I
- IdGenerator - Interface in io.opentelemetry.sdk.trace
-
Interface used by the
SdkTracer
to generate newSpanId
s andTraceId
s. - io.opentelemetry.sdk.trace - package io.opentelemetry.sdk.trace
-
The OpenTelemetry SDK implementation of tracing.
- io.opentelemetry.sdk.trace.data - package io.opentelemetry.sdk.trace.data
-
The data format to model traces for export.
- io.opentelemetry.sdk.trace.export - package io.opentelemetry.sdk.trace.export
-
Utilities that allow tracing services to export data for sampled spans, as well as providing in-process span processing APIs.
- io.opentelemetry.sdk.trace.samplers - package io.opentelemetry.sdk.trace.samplers
-
This package contains
Sampler
s for selecting traces that are recorded and exported. - isEndRequired() - Method in class io.opentelemetry.sdk.trace.export.BatchSpanProcessor
- isEndRequired() - Method in class io.opentelemetry.sdk.trace.export.SimpleSpanProcessor
- isEndRequired() - Method in interface io.opentelemetry.sdk.trace.SpanProcessor
-
Returns
true
if thisSpanProcessor
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 interface io.opentelemetry.sdk.trace.SpanProcessor
-
Returns
true
if thisSpanProcessor
requires start events.
L
- LinkData - Interface in io.opentelemetry.sdk.trace.data
-
Data representation of a link.
O
- ok() - Static method in interface io.opentelemetry.sdk.trace.data.StatusData
-
Returns a
StatusData
indicating the operation has been validated by an application developer or operator to have completed successfully. - 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 interface io.opentelemetry.sdk.trace.SpanProcessor
-
Called when a
Span
is ended, if theSpan.isRecording()
returns true. - onStart(Context, ReadWriteSpan) - Method in class io.opentelemetry.sdk.trace.export.BatchSpanProcessor
- onStart(Context, ReadWriteSpan) - Method in class io.opentelemetry.sdk.trace.export.SimpleSpanProcessor
- onStart(Context, ReadWriteSpan) - Method in interface io.opentelemetry.sdk.trace.SpanProcessor
-
Called when a
Span
is started, if theSpan.isRecording()
returns true.
P
- parentBased(Sampler) - Static method in interface io.opentelemetry.sdk.trace.samplers.Sampler
-
Returns a
Sampler
that always makes the same decision as the parentSpan
to whether or not to sample. - parentBasedBuilder(Sampler) - Static method in interface io.opentelemetry.sdk.trace.samplers.Sampler
-
Returns a
ParentBasedSamplerBuilder
that enables configuration of the parent-based sampling strategy. - ParentBasedSamplerBuilder - Class in io.opentelemetry.sdk.trace.samplers
-
A builder for creating ParentBased sampler instances.
R
- random() - Static method in interface io.opentelemetry.sdk.trace.IdGenerator
-
Returns a
IdGenerator
that generates purely random IDs, which is the default for OpenTelemetry. - ReadableSpan - Interface in io.opentelemetry.sdk.trace
-
SDK representation of a
Span
that can be read. - ReadWriteSpan - Interface in io.opentelemetry.sdk.trace
-
A combination of the write methods from the
Span
interface and the read methods from theReadableSpan
interface. - RECORD_AND_SAMPLE - Enum constant in enum io.opentelemetry.sdk.trace.samplers.SamplingDecision
-
Span is recorded and sampled.
- RECORD_ONLY - Enum constant in enum io.opentelemetry.sdk.trace.samplers.SamplingDecision
-
Span is recorded only.
- recordAndSample() - Static method in interface io.opentelemetry.sdk.trace.samplers.SamplingResult
-
Returns a
SamplingResult
corresponding toSamplingDecision.RECORD_AND_SAMPLE
with no attributes. - recordOnly() - Static method in interface io.opentelemetry.sdk.trace.samplers.SamplingResult
-
Returns a
SamplingResult
corresponding toSamplingDecision.RECORD_ONLY
with no attributes.
S
- Sampler - Interface in io.opentelemetry.sdk.trace.samplers
-
A Sampler is used to make decisions on
Span
sampling. - SamplingDecision - Enum in io.opentelemetry.sdk.trace.samplers
-
A decision on whether a span should be recorded, recorded and sampled or dropped.
- SamplingResult - Interface in io.opentelemetry.sdk.trace.samplers
-
Sampling result returned by
Sampler.shouldSample(Context, String, String, SpanKind, Attributes, List)
. - SdkTracerProvider - Class in io.opentelemetry.sdk.trace
-
SDK implementation for
TracerProvider
. - SdkTracerProviderBuilder - Class in io.opentelemetry.sdk.trace
-
Builder of
SdkTracerProvider
. - setClock(Clock) - Method in class io.opentelemetry.sdk.trace.SdkTracerProviderBuilder
-
Assign a
Clock
. - setExporterTimeout(long, TimeUnit) - Method in class io.opentelemetry.sdk.trace.export.BatchSpanProcessorBuilder
-
Sets the maximum time an export will be allowed to run before being cancelled.
- setExporterTimeout(Duration) - Method in class io.opentelemetry.sdk.trace.export.BatchSpanProcessorBuilder
-
Sets the maximum time an export will be allowed to run before being cancelled.
- setIdGenerator(IdGenerator) - Method in class io.opentelemetry.sdk.trace.SdkTracerProviderBuilder
-
Assign an
IdGenerator
. - setLocalParentNotSampled(Sampler) - Method in class io.opentelemetry.sdk.trace.samplers.ParentBasedSamplerBuilder
-
Sets the
Sampler
to use when there is a local parent that was not sampled. - setLocalParentSampled(Sampler) - Method in class io.opentelemetry.sdk.trace.samplers.ParentBasedSamplerBuilder
-
Sets the
Sampler
to use when there is a local parent that was sampled. - setMaxAttributeValueLength(int) - Method in class io.opentelemetry.sdk.trace.SpanLimitsBuilder
-
Sets the max number of characters for string attribute values.
- setMaxExportBatchSize(int) - Method in class io.opentelemetry.sdk.trace.export.BatchSpanProcessorBuilder
-
Sets the maximum batch size for every export.
- setMaxNumberOfAttributes(int) - Method in class io.opentelemetry.sdk.trace.SpanLimitsBuilder
-
Sets the max number of attributes per
Span
. - setMaxNumberOfAttributesPerEvent(int) - Method in class io.opentelemetry.sdk.trace.SpanLimitsBuilder
-
Sets the max number of attributes per event.
- setMaxNumberOfAttributesPerLink(int) - Method in class io.opentelemetry.sdk.trace.SpanLimitsBuilder
-
Sets the max number of attributes per link.
- setMaxNumberOfEvents(int) - Method in class io.opentelemetry.sdk.trace.SpanLimitsBuilder
-
Sets the max number of events per
Span
. - setMaxNumberOfLinks(int) - Method in class io.opentelemetry.sdk.trace.SpanLimitsBuilder
-
Sets the max number of links per
Span
. - setMaxQueueSize(int) - Method in class io.opentelemetry.sdk.trace.export.BatchSpanProcessorBuilder
-
Sets the maximum number of Spans that are kept in the queue before start dropping.
- setMeterProvider(MeterProvider) - Method in class io.opentelemetry.sdk.trace.export.BatchSpanProcessorBuilder
-
Sets the
MeterProvider
to use to collect metrics related to batch export. - setRemoteParentNotSampled(Sampler) - Method in class io.opentelemetry.sdk.trace.samplers.ParentBasedSamplerBuilder
-
Sets the
Sampler
to use when there is a remote parent that was not sampled. - setRemoteParentSampled(Sampler) - Method in class io.opentelemetry.sdk.trace.samplers.ParentBasedSamplerBuilder
-
Sets the
Sampler
to use when there is a remote parent that was sampled. - setResource(Resource) - Method in class io.opentelemetry.sdk.trace.SdkTracerProviderBuilder
-
Assign a
Resource
to be attached to all Spans created by Tracers. - setSampler(Sampler) - Method in class io.opentelemetry.sdk.trace.SdkTracerProviderBuilder
-
Assign a
Sampler
to use for sampling traces. - setScheduleDelay(long, TimeUnit) - Method in class io.opentelemetry.sdk.trace.export.BatchSpanProcessorBuilder
-
Sets the delay interval between two consecutive exports.
- setScheduleDelay(Duration) - Method in class io.opentelemetry.sdk.trace.export.BatchSpanProcessorBuilder
-
Sets the delay interval between two consecutive exports.
- setSpanLimits(SpanLimits) - Method in class io.opentelemetry.sdk.trace.SdkTracerProviderBuilder
-
Assign an initial
SpanLimits
that should be used with this SDK. - setSpanLimits(Supplier<SpanLimits>) - Method in class io.opentelemetry.sdk.trace.SdkTracerProviderBuilder
-
Assign a
Supplier
ofSpanLimits
. - shouldSample(Context, String, String, SpanKind, Attributes, List<LinkData>) - Method in interface io.opentelemetry.sdk.trace.samplers.Sampler
-
Called during
Span
creation to make a sampling samplingResult. - shutdown() - Method in class io.opentelemetry.sdk.trace.export.BatchSpanProcessor
- shutdown() - Method in class io.opentelemetry.sdk.trace.export.SimpleSpanProcessor
- shutdown() - Method in interface io.opentelemetry.sdk.trace.export.SpanExporter
-
Called when
SdkTracerProvider.shutdown()
is called, if thisSpanExporter
is registered to aSdkTracerProvider
object. - shutdown() - Method in class io.opentelemetry.sdk.trace.SdkTracerProvider
-
Attempts to stop all the activity for
Tracer
s created by this provider. - shutdown() - Method in interface io.opentelemetry.sdk.trace.SpanProcessor
-
Processes all span events that have not yet been processed and closes used resources.
- SimpleSpanProcessor - Class in io.opentelemetry.sdk.trace.export
-
An implementation of the
SpanProcessor
that converts theReadableSpan
toSpanData
and passes it directly to the configured exporter. - SpanData - Interface in io.opentelemetry.sdk.trace.data
-
Immutable representation of all data collected by the
Span
class. - 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.
- SpanLimits - Class in io.opentelemetry.sdk.trace
-
Class that holds limits enforced during span recording.
- SpanLimits() - Constructor for class io.opentelemetry.sdk.trace.SpanLimits
-
Deprecated.Will be made package private in 2.0.0.
- SpanLimitsBuilder - Class in io.opentelemetry.sdk.trace
-
Builder for
SpanLimits
. - SpanProcessor - Interface in io.opentelemetry.sdk.trace
-
SpanProcessor is the interface
SdkTracer
uses to allow synchronous hooks for when aSpan
is started or when aSpan
is ended. - StatusData - Interface in io.opentelemetry.sdk.trace.data
-
Defines the status of a
Span
by providing a standardStatusCode
in conjunction with an optional descriptive message.
T
- toBuilder() - Method in class io.opentelemetry.sdk.trace.SpanLimits
-
Returns a
SpanLimitsBuilder
initialized to the same property values as the current instance. - toSpanData() - Method in interface io.opentelemetry.sdk.trace.ReadableSpan
-
This converts this instance into an immutable SpanData instance, for use in export.
- toString() - Method in class io.opentelemetry.sdk.trace.data.DelegatingSpanData
- toString() - Method in class io.opentelemetry.sdk.trace.export.BatchSpanProcessor
- toString() - Method in class io.opentelemetry.sdk.trace.export.SimpleSpanProcessor
- toString() - Method in class io.opentelemetry.sdk.trace.SdkTracerProvider
- traceIdRatioBased(double) - Static method in interface io.opentelemetry.sdk.trace.samplers.Sampler
-
Returns a new TraceIdRatioBased
Sampler
. - tracerBuilder(String) - Method in class io.opentelemetry.sdk.trace.SdkTracerProvider
U
- unset() - Static method in interface io.opentelemetry.sdk.trace.data.StatusData
-
Returns the default
StatusData
.
V
- valueOf(String) - Static method in enum io.opentelemetry.sdk.trace.samplers.SamplingDecision
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum io.opentelemetry.sdk.trace.samplers.SamplingDecision
-
Returns an array containing the constants of this enum type, in the order they are declared.
All Classes and Interfaces|All Packages
SpanData.getInstrumentationScopeInfo()
.