- 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.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.Sampler.SamplingResult
-
Return tags which will be attached to the span.
- getCanonicalCode() - Method in interface io.opentelemetry.sdk.trace.data.SpanData.Status
-
Returns the canonical status code.
- getContext() - Method in interface io.opentelemetry.sdk.trace.data.SpanData.Link
-
Returns the SpanContext.
- 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.trace.config.TraceConfig
-
Returns the default TraceConfig.
- getDescription() - Method in interface io.opentelemetry.sdk.trace.data.SpanData.Status
-
Returns the description of this Status for human consumption.
- getDescription() - Method in interface io.opentelemetry.sdk.trace.Sampler
-
Returns the description of this Sampler.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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 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 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.
- 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.Event events that were recorded on this span.
- getTotalRecordedLinks() - Method in interface io.opentelemetry.sdk.trace.data.SpanData
-
The total number of
ImmutableLink links 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 TraceState for this span.
- 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 dropped.
- Sampler.SamplingResult - Interface in io.opentelemetry.sdk.trace
-
Sampling result returned by Sampler#shouldSample(SpanContext, String, 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
-
- 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.
- setIdsGenerator(IdsGenerator) - Method in class io.opentelemetry.sdk.trace.TracerSdkProvider.Builder
-
- 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.
- 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.
- setScheduleDelayMillis(long) - Method in class io.opentelemetry.sdk.trace.export.BatchSpanProcessor.Builder
-
Sets the delay interval between two consecutive exports.
- setTraceIdRatioBased(double) - Method in class io.opentelemetry.sdk.trace.config.TraceConfig.Builder
-
Sets the global default Sampler.
- shouldSample(SpanContext, String, String, Span.Kind, ReadableAttributes, List<SpanData.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.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
-
- shutdown() - Method in class io.opentelemetry.sdk.trace.MultiSpanProcessor
-
- 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
-
- SimpleSpanProcessor.Builder - Class in io.opentelemetry.sdk.trace.export
-
- 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 - 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 Span by providing a standard StatusCanonicalCode in
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 TracerSdk uses to allow synchronous hooks for when a
Span is started or when a Span is ended.