A B C D E F G H I M O P R S T U V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addSpanProcessor(SpanProcessor) - Method in interface io.opentelemetry.sdk.trace.TracerSdkManagement
-
Adds a new
SpanProcessorto thisTracer. - addSpanProcessor(SpanProcessor) - Method in class io.opentelemetry.sdk.trace.TracerSdkProvider
- 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
SpanProcessorthat 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.trace.config.TraceConfig.Builder
-
Builds and returns a
TraceConfigwith the desired values. - build() - Method in class io.opentelemetry.sdk.trace.export.BatchSpanProcessor.Builder
-
Returns a new
BatchSpanProcessorthat batches, then converts spans to proto and forwards them to the givenspanExporter. - build() - Method in class io.opentelemetry.sdk.trace.export.SimpleSpanProcessor.Builder
-
Returns a new
SimpleSpanProcessorthat converts spans to proto and forwards them to the givenspanExporter. - build() - Method in class io.opentelemetry.sdk.trace.samplers.ParentBasedSampler.Builder
-
Builds the
ParentBasedSampler. - build() - Method in class io.opentelemetry.sdk.trace.TracerSdkProvider.Builder
-
Create a new TraceSdkProvider instance.
- builder() - Static method in class io.opentelemetry.sdk.trace.TracerSdkProvider
-
Returns a new
TracerSdkProvider.BuilderforTracerSdkProvider. - builder(SpanExporter) - Static method in class io.opentelemetry.sdk.trace.export.BatchSpanProcessor
-
Returns a new Builder for
BatchSpanProcessor. - builder(SpanExporter) - Static method in class io.opentelemetry.sdk.trace.export.SimpleSpanProcessor
-
Returns a new Builder for
SimpleSpanProcessor.
C
- composite(SpanExporter...) - Static method in interface io.opentelemetry.sdk.trace.export.SpanExporter
-
Returns a
SpanExporterwhich simply delegates all exports to theexportersin order. - composite(SpanProcessor...) - Static method in interface io.opentelemetry.sdk.trace.SpanProcessor
-
Returns a
SpanProcessorwhich simply delegates all processing to theprocessorsin order. - composite(Iterable<SpanExporter>) - Static method in interface io.opentelemetry.sdk.trace.export.SpanExporter
-
Returns a
SpanExporterwhich simply delegates all exports to theexportersin order. - composite(Iterable<SpanProcessor>) - Static method in interface io.opentelemetry.sdk.trace.SpanProcessor
-
Returns a
SpanProcessorwhich simply delegates all processing to theprocessorsin order. - create() - Method in class io.opentelemetry.sdk.trace.spi.TracerProviderFactorySdk
- create(long, String, Attributes) - Static method in interface io.opentelemetry.sdk.trace.data.SpanData.Event
-
Returns a new immutable
Event. - create(long, String, Attributes, int) - Static method in interface io.opentelemetry.sdk.trace.data.SpanData.Event
-
Returns a new immutable
Event. - create(SpanContext) - Static method in interface io.opentelemetry.sdk.trace.data.SpanData.Link
-
Returns a new immutable
Link. - create(SpanContext, Attributes) - Static method in interface io.opentelemetry.sdk.trace.data.SpanData.Link
-
Returns a new immutable
Link. - create(SpanContext, Attributes, int) - Static method in interface io.opentelemetry.sdk.trace.data.SpanData.Link
-
Returns a new immutable
Link. - create(StatusCode, String) - Static method in interface io.opentelemetry.sdk.trace.data.SpanData.Status
- create(SamplingResult.Decision) - Static method in interface io.opentelemetry.sdk.trace.samplers.SamplingResult
- create(SamplingResult.Decision, Attributes) - Static method in interface io.opentelemetry.sdk.trace.samplers.SamplingResult
-
Returns a
SamplingResultwith the givenattributesandSamplingResult.getDecision()returningdecision. - create(List<SpanExporter>) - Static method in class io.opentelemetry.sdk.trace.export.MultiSpanExporter
-
Deprecated.
- create(List<SpanProcessor>) - Static method in class io.opentelemetry.sdk.trace.MultiSpanProcessor
-
Deprecated.
D
- DROP - io.opentelemetry.sdk.trace.samplers.SamplingResult.Decision
E
- equals(Object) - Method in class io.opentelemetry.sdk.trace.samplers.ParentBasedSampler
- error() - Static method in interface io.opentelemetry.sdk.trace.data.SpanData.Status
-
Returns a
SpanData.Statusindicating an error occurred. - export(Collection<SpanData>) - Method in class io.opentelemetry.sdk.trace.export.MultiSpanExporter
-
Deprecated.
- export(Collection<SpanData>) - Method in interface io.opentelemetry.sdk.trace.export.SpanExporter
-
Called to export sampled
Spans.
F
- flush() - Method in class io.opentelemetry.sdk.trace.export.MultiSpanExporter
-
Deprecated.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.MultiSpanProcessor
-
Deprecated.
- forceFlush() - Method in interface io.opentelemetry.sdk.trace.SpanProcessor
-
Processes all span events that have not yet been processed.
- forceFlush() - Method in interface io.opentelemetry.sdk.trace.TracerSdkManagement
-
Requests the active span processor to process all span events that have not yet been processed and returns a
CompletableResultCodewhich is completed when the flush is finished. - forceFlush() - Method in class io.opentelemetry.sdk.trace.TracerSdkProvider
- 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.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.TracerSdkProvider
- get(String, String) - Method in class io.opentelemetry.sdk.trace.TracerSdkProvider
- getActiveTraceConfig() - Method in interface io.opentelemetry.sdk.trace.TracerSdkManagement
-
Returns the active
TraceConfig. - getActiveTraceConfig() - Method in class io.opentelemetry.sdk.trace.TracerSdkProvider
- getAttributes() - Method in interface io.opentelemetry.sdk.trace.data.SpanData.Event
-
Return the attributes of the
Event. - 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.data.SpanData.Link
-
Returns the set of attributes.
- getAttributes() - Method in interface io.opentelemetry.sdk.trace.samplers.SamplingResult
-
Return tags which will be attached to the span.
- getContext() - Method in interface io.opentelemetry.sdk.trace.data.SpanData.Link
-
Returns the
SpanContext. - 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.config.TraceConfig
-
Returns the default
TraceConfig. - getDescription() - Method in interface io.opentelemetry.sdk.trace.data.SpanData.Status
-
Returns the description of this
Statusfor human consumption. - getDescription() - Method in class io.opentelemetry.sdk.trace.samplers.ParentBasedSampler
- 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.SpanData.Event
-
Returns the dropped attributes count of this event.
- 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.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. - 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.
- 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
Spanin nanos. - getLinks() - Method in interface io.opentelemetry.sdk.trace.data.SpanData
-
Returns links recorded for this
Span. - 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 links per
Span. - getName() - Method in interface io.opentelemetry.sdk.trace.data.SpanData.Event
-
Return the name of the
Event. - 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 interface io.opentelemetry.sdk.trace.data.SpanData
-
Returns the parent
SpanContext. - getParentSpanId() - Method in interface io.opentelemetry.sdk.trace.data.SpanData
-
Returns the parent
SpanId. - 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
Samplerwhich is used when constructing a newSpan. - getSpanContext() - Method in interface io.opentelemetry.sdk.trace.ReadableSpan
-
Returns the
SpanContextof theSpan. - getSpanId() - Method in interface io.opentelemetry.sdk.trace.data.SpanData
-
Gets the span id for this span.
- 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. - getStatusCode() - Method in interface io.opentelemetry.sdk.trace.data.SpanData.Status
-
Returns the status code.
- 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 interface 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.Eventevents that were recorded on this span. - getTotalRecordedLinks() - Method in interface io.opentelemetry.sdk.trace.data.SpanData
-
The total number of
ImmutableLinklinks that were recorded on this span. - getTraceId() - Method in interface io.opentelemetry.sdk.trace.data.SpanData
-
Gets the trace id for this span.
- getTraceState() - Method in interface io.opentelemetry.sdk.trace.data.SpanData
-
Gets the
TraceStatefor 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 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.samplers.ParentBasedSampler
- hasRemoteParent() - Method in interface io.opentelemetry.sdk.trace.data.SpanData
-
Deprecated.
I
- IdGenerator - Interface in io.opentelemetry.sdk.trace
-
Interface used by the
TracerSdkto generate newSpanIds andTraceIds. - io.opentelemetry.sdk.trace - package io.opentelemetry.sdk.trace
-
The OpenTelemetry SDK implementation of tracing.
- 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
-
The data format to model traces for export.
- 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.samplers - package io.opentelemetry.sdk.trace.samplers
-
Samplers for selecting traces that are recorded and exported.
- io.opentelemetry.sdk.trace.spi - package io.opentelemetry.sdk.trace.spi
-
The SPI implementation which provides the SDK implementation of tracing.
- 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
-
Deprecated.
- isEndRequired() - Method in interface io.opentelemetry.sdk.trace.SpanProcessor
-
Returns
trueif thisSpanProcessorrequires end events. - isOk() - Method in interface io.opentelemetry.sdk.trace.data.SpanData.Status
-
Returns
trueif thisStatusis ok, i.e., status is not set, or has been overridden to be ok by an operator. - isSampled() - Method in interface io.opentelemetry.sdk.trace.data.SpanData
-
Whether the 'sampled' option set on this span.
- 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
-
Deprecated.
- isStartRequired() - Method in interface io.opentelemetry.sdk.trace.SpanProcessor
-
Returns
trueif thisSpanProcessorrequires start events. - isUnset() - Method in interface io.opentelemetry.sdk.trace.data.SpanData.Status
-
Returns
trueif thisStatusis UNSET, i.e., not an error.
M
- MultiSpanExporter - Class in io.opentelemetry.sdk.trace.export
-
Deprecated.
- MultiSpanProcessor - Class in io.opentelemetry.sdk.trace
-
Deprecated.
O
- ok() - Static method in interface io.opentelemetry.sdk.trace.data.SpanData.Status
-
Returns a
SpanData.Statusindicating 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 class io.opentelemetry.sdk.trace.MultiSpanProcessor
-
Deprecated.
- onEnd(ReadableSpan) - Method in interface io.opentelemetry.sdk.trace.SpanProcessor
-
Called when a
Spanis 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 class io.opentelemetry.sdk.trace.MultiSpanProcessor
-
Deprecated.
- onStart(Context, ReadWriteSpan) - Method in interface io.opentelemetry.sdk.trace.SpanProcessor
-
Called when a
Spanis started, if theSpan.isRecording()returns true.
P
- parentBased(Sampler) - Static method in interface io.opentelemetry.sdk.trace.samplers.Sampler
-
Returns a
Samplerthat always makes the same decision as the parentSpanto whether or not to sample. - parentBasedBuilder(Sampler) - Static method in interface io.opentelemetry.sdk.trace.samplers.Sampler
-
Returns a
ParentBasedSampler.Builderthat follows the parent's sampling decision if one exists, otherwise following the root sampler and other optional sampler's decision. - ParentBasedSampler - Class in io.opentelemetry.sdk.trace.samplers
-
A Sampler that uses the sampled flag of the parent Span, if present.
- ParentBasedSampler.Builder - 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
IdGeneratorthat generates purely random IDs, which is the default for OpenTelemetry. - ReadableSpan - Interface in io.opentelemetry.sdk.trace
-
The extend Span interface used by the SDK.
- 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.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.trace.config.TraceConfig.Builder
-
* Sets the configuration values from system properties for only the available keys.
- ReadWriteSpan - Interface in io.opentelemetry.sdk.trace
-
A combination of the write methods from the
Spaninterface and the read methods from theReadableSpaninterface. - RECORD_AND_SAMPLE - io.opentelemetry.sdk.trace.samplers.SamplingResult.Decision
- RECORD_ONLY - io.opentelemetry.sdk.trace.samplers.SamplingResult.Decision
S
- Sampler - Interface in io.opentelemetry.sdk.trace.samplers
-
Sampler is used to make decisions on
Spansampling. - SamplingResult - Interface in io.opentelemetry.sdk.trace.samplers
-
Sampling result returned by
Sampler.shouldSample(Context, String, String, Span.Kind, Attributes, List). - SamplingResult.Decision - Enum in io.opentelemetry.sdk.trace.samplers
-
A decision on whether a span should be recorded, recorded and sampled or dropped.
- setClock(Clock) - Method in class io.opentelemetry.sdk.trace.TracerSdkProvider.Builder
-
Assign a
Clock. - 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.
- 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.
- setIdGenerator(IdGenerator) - Method in class io.opentelemetry.sdk.trace.TracerSdkProvider.Builder
-
Assign an
IdGenerator. - setLocalParentNotSampled(Sampler) - Method in class io.opentelemetry.sdk.trace.samplers.ParentBasedSampler.Builder
-
Sets the
Samplerto use when there is a local parent that was not sampled. - setLocalParentSampled(Sampler) - Method in class io.opentelemetry.sdk.trace.samplers.ParentBasedSampler.Builder
-
Sets the
Samplerto use when there is a local parent that was sampled. - 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 links 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.
- setRemoteParentNotSampled(Sampler) - Method in class io.opentelemetry.sdk.trace.samplers.ParentBasedSampler.Builder
-
Sets the
Samplerto use when there is a remote parent that was not sampled. - setRemoteParentSampled(Sampler) - Method in class io.opentelemetry.sdk.trace.samplers.ParentBasedSampler.Builder
-
Sets the
Samplerto use when there is a remote parent that was sampled. - setResource(Resource) - Method in class io.opentelemetry.sdk.trace.TracerSdkProvider.Builder
-
Assign a
Resourceto 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. - setScheduleDelayMillis(long) - Method in class io.opentelemetry.sdk.trace.export.BatchSpanProcessor.Builder
-
Sets the delay interval between two consecutive exports.
- setTraceConfig(TraceConfig) - Method in class io.opentelemetry.sdk.trace.TracerSdkProvider.Builder
-
Assign an initial
TraceConfigthat should be used with this SDK. - setTraceIdRatioBased(double) - Method in class io.opentelemetry.sdk.trace.config.TraceConfig.Builder
-
Sets the global default
Sampler. - shouldSample(Context, String, String, Span.Kind, Attributes, List<SpanData.Link>) - Method in class io.opentelemetry.sdk.trace.samplers.ParentBasedSampler
- shouldSample(Context, String, String, Span.Kind, Attributes, List<SpanData.Link>) - Method in interface io.opentelemetry.sdk.trace.samplers.Sampler
-
Called during
Spancreation to make a sampling samplingResult. - shouldTruncateStringAttributeValues() - Method in class io.opentelemetry.sdk.trace.config.TraceConfig
- shutdown() - Method in class io.opentelemetry.sdk.trace.export.BatchSpanProcessor
- shutdown() - Method in class io.opentelemetry.sdk.trace.export.MultiSpanExporter
-
Deprecated.
- shutdown() - Method in class io.opentelemetry.sdk.trace.export.SimpleSpanProcessor
- shutdown() - Method in interface io.opentelemetry.sdk.trace.export.SpanExporter
-
Called when
TracerSdkManagement.shutdown()is called, if thisSpanExporteris registered to aTracerSdkManagementobject. - shutdown() - Method in class io.opentelemetry.sdk.trace.MultiSpanProcessor
-
Deprecated.
- shutdown() - Method in interface io.opentelemetry.sdk.trace.SpanProcessor
-
Processes all span events that have not yet been processed and closes used resources.
- shutdown() - Method in interface io.opentelemetry.sdk.trace.TracerSdkManagement
-
Attempts to stop all the activity for this
Tracer. - shutdown() - Method in class io.opentelemetry.sdk.trace.TracerSdkProvider
- SimpleSpanProcessor - Class in io.opentelemetry.sdk.trace.export
-
An implementation of the
SpanProcessorthat converts theReadableSpantoSpanDataand passes it directly 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
Spanclass. - SpanData.Event - Interface in io.opentelemetry.sdk.trace.data
- SpanData.Link - Interface in io.opentelemetry.sdk.trace.data
-
A link to a
Span. - SpanData.Status - Interface in io.opentelemetry.sdk.trace.data
-
Defines the status of a
Spanby providing a standardStatusCodein conjunction with an optional descriptive message. - 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.
- SpanProcessor - Interface in io.opentelemetry.sdk.trace
-
SpanProcessor is the interface
TracerSdkuses to allow synchronous hooks for when aSpanis started or when aSpanis ended.
T
- toBuilder() - Method in class io.opentelemetry.sdk.trace.config.TraceConfig
-
Returns a
TraceConfig.Builderinitialized 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.samplers.ParentBasedSampler
- 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. - traceIdRatioBased(double) - Static method in interface io.opentelemetry.sdk.trace.samplers.Sampler
-
Returns a new TraceIdRatioBased
Sampler. - 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
- TracerSdkManagement - Interface in io.opentelemetry.sdk.trace
-
"Management" interface for the Tracing SDK.
- TracerSdkProvider - Class in io.opentelemetry.sdk.trace
-
Tracerprovider implementation forTracerProvider. - TracerSdkProvider.Builder - Class in io.opentelemetry.sdk.trace
-
Builder class for the TraceSdkProvider.
U
- UNLIMITED_ATTRIBUTE_LENGTH - Static variable in class io.opentelemetry.sdk.trace.config.TraceConfig
- unset() - Static method in interface io.opentelemetry.sdk.trace.data.SpanData.Status
-
Returns the default
SpanData.Status. - updateActiveTraceConfig(TraceConfig) - Method in interface io.opentelemetry.sdk.trace.TracerSdkManagement
-
Updates the active
TraceConfig. - updateActiveTraceConfig(TraceConfig) - Method in class io.opentelemetry.sdk.trace.TracerSdkProvider
V
- valueOf(String) - Static method in enum io.opentelemetry.sdk.trace.samplers.SamplingResult.Decision
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum io.opentelemetry.sdk.trace.samplers.SamplingResult.Decision
-
Returns an array containing the constants of this enum type, in the order they are declared.
All Classes All Packages