- 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.
- 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_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() - 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
-
- 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, Map<String, String>) - Static method in class io.opentelemetry.sdk.metrics.data.MetricData.Descriptor
-
- create(long, long, Map<String, String>, double) - Static method in class io.opentelemetry.sdk.metrics.data.MetricData.DoublePoint
-
- create(long, long, Map<String, String>, long) - Static method in class io.opentelemetry.sdk.metrics.data.MetricData.LongPoint
-
- create(long, long, Map<String, String>, 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(Map<String, AttributeValue>) - Static method in class io.opentelemetry.sdk.resources.Resource
-
- create(long, String, Map<String, AttributeValue>) - Static method in class io.opentelemetry.sdk.trace.data.EventImpl
-
Returns a new immutable Event
.
- create(long, String, Map<String, AttributeValue>, 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, Map<String, AttributeValue>) - Static method in class io.opentelemetry.sdk.trace.data.SpanData.Link
-
Returns a new immutable Link
.
- create(SpanContext, Map<String, AttributeValue>, 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
-
- 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
-
- 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
.
- getAllMetrics() - Method in interface io.opentelemetry.sdk.metrics.export.MetricProducer
-
Returns a collection of produced
MetricData
s to be exported.
- 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.Decision
-
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
-
- 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
-
- 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
-
- 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
-
- getFactory() - Static method in class io.opentelemetry.sdk.metrics.aggregator.DoubleMinMaxSumCount
-
- getFactory() - Static method in class io.opentelemetry.sdk.metrics.aggregator.DoubleSumAggregator
-
- getFactory() - Static method in class io.opentelemetry.sdk.metrics.aggregator.LongLastValueAggregator
-
- getFactory() - Static method in class io.opentelemetry.sdk.metrics.aggregator.LongMinMaxSumCount
-
- getFactory() - Static method in class io.opentelemetry.sdk.metrics.aggregator.LongSumAggregator
-
- 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.
- 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 Event
s 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
-
- 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
-
- getResource() - Method in class io.opentelemetry.sdk.metrics.data.MetricData
-
Returns the resource of this MetricData
.
- getResource() - Static method in class io.opentelemetry.sdk.resources.EnvVarResource
-
- 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.
- 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.
- Sampler - Interface in io.opentelemetry.sdk.trace
-
Sampler is used to make decisions on Span
sampling.
- Sampler.Decision - Interface in io.opentelemetry.sdk.trace
-
- Samplers - Class in io.opentelemetry.sdk.trace
-
Static class to access a set of pre-defined
Samplers
.
- 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(Map<String, AttributeValue>) - 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
-
- setClock(Clock) - Method in class io.opentelemetry.sdk.trace.TracerSdkProvider.Builder
-
- 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
-
- 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.
- 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 Event
s 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, Map<String, AttributeValue>, List<Link>) - Method in interface io.opentelemetry.sdk.trace.Sampler
-
Called during Span
creation to make a sampling decision.
- 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
-
- shutdown() - Method in class io.opentelemetry.sdk.trace.MultiSpanProcessor
-
- shutdown() - Method in interface io.opentelemetry.sdk.trace.SpanProcessor
-
- 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
-
- 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 - 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.
- 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.
- 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.