Uses of Interface
io.opentelemetry.sdk.trace.SpanProcessor
-
Packages that use SpanProcessor Package Description io.opentelemetry.sdk.autoconfigure io.opentelemetry.sdk.autoconfigure.spi Java SPI (Service Provider Interface) for implementing extensions to SDK autoconfiguration.io.opentelemetry.sdk.trace The OpenTelemetry SDK implementation of tracing.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.internal -
-
Uses of SpanProcessor in io.opentelemetry.sdk.autoconfigure
Fields in io.opentelemetry.sdk.autoconfigure with type parameters of type SpanProcessor Modifier and Type Field Description private java.util.function.BiFunction<? super SpanProcessor,ConfigProperties,? extends SpanProcessor>
AutoConfiguredOpenTelemetrySdkBuilder. spanProcessorCustomizer
private java.util.function.BiFunction<? super SpanProcessor,ConfigProperties,? extends SpanProcessor>
AutoConfiguredOpenTelemetrySdkBuilder. spanProcessorCustomizer
Methods in io.opentelemetry.sdk.autoconfigure that return types with arguments of type SpanProcessor Modifier and Type Method Description (package private) static java.util.List<SpanProcessor>
TracerProviderConfiguration. configureSpanProcessors(ConfigProperties config, java.util.Map<java.lang.String,SpanExporter> exportersByName, MeterProvider meterProvider, java.util.List<java.io.Closeable> closeables)
Method parameters in io.opentelemetry.sdk.autoconfigure with type arguments of type SpanProcessor Modifier and Type Method Description AutoConfiguredOpenTelemetrySdkBuilder
AutoConfiguredOpenTelemetrySdkBuilder. addSpanProcessorCustomizer(java.util.function.BiFunction<? super SpanProcessor,ConfigProperties,? extends SpanProcessor> spanProcessorCustomizer)
Adds aBiFunction
to invoke for all autoconfiguredSpanProcessor
.AutoConfiguredOpenTelemetrySdkBuilder
AutoConfiguredOpenTelemetrySdkBuilder. addSpanProcessorCustomizer(java.util.function.BiFunction<? super SpanProcessor,ConfigProperties,? extends SpanProcessor> spanProcessorCustomizer)
Adds aBiFunction
to invoke for all autoconfiguredSpanProcessor
. -
Uses of SpanProcessor in io.opentelemetry.sdk.autoconfigure.spi
Method parameters in io.opentelemetry.sdk.autoconfigure.spi with type arguments of type SpanProcessor Modifier and Type Method Description default AutoConfigurationCustomizer
AutoConfigurationCustomizer. addSpanProcessorCustomizer(java.util.function.BiFunction<? super SpanProcessor,ConfigProperties,? extends SpanProcessor> spanProcessorCustomizer)
Adds aBiFunction
to invoke for all autoconfiguredSpanProcessor
.default AutoConfigurationCustomizer
AutoConfigurationCustomizer. addSpanProcessorCustomizer(java.util.function.BiFunction<? super SpanProcessor,ConfigProperties,? extends SpanProcessor> spanProcessorCustomizer)
Adds aBiFunction
to invoke for all autoconfiguredSpanProcessor
. -
Uses of SpanProcessor in io.opentelemetry.sdk.trace
Classes in io.opentelemetry.sdk.trace that implement SpanProcessor Modifier and Type Class Description (package private) class
MultiSpanProcessor
Implementation of theSpanProcessor
that simply forwards all received events to a list ofSpanProcessor
s.(package private) class
NoopSpanProcessor
Fields in io.opentelemetry.sdk.trace declared as SpanProcessor Modifier and Type Field Description private SpanProcessor
TracerSharedState. activeSpanProcessor
private SpanProcessor
SdkSpan. spanProcessor
Fields in io.opentelemetry.sdk.trace with type parameters of type SpanProcessor Modifier and Type Field Description private java.util.List<SpanProcessor>
SdkTracerProviderBuilder. spanProcessors
private java.util.List<SpanProcessor>
MultiSpanProcessor. spanProcessorsAll
private java.util.List<SpanProcessor>
MultiSpanProcessor. spanProcessorsEnd
private java.util.List<SpanProcessor>
MultiSpanProcessor. spanProcessorsStart
Methods in io.opentelemetry.sdk.trace that return SpanProcessor Modifier and Type Method Description static SpanProcessor
SpanProcessor. composite(SpanProcessor... processors)
Returns aSpanProcessor
which simply delegates all processing to theprocessors
in order.static SpanProcessor
SpanProcessor. composite(java.lang.Iterable<SpanProcessor> processors)
Returns aSpanProcessor
which simply delegates all processing to theprocessors
in order.(package private) static SpanProcessor
MultiSpanProcessor. create(java.util.List<SpanProcessor> spanProcessorList)
Creates a newMultiSpanProcessor
.(package private) SpanProcessor
TracerSharedState. getActiveSpanProcessor()
Returns the activeSpanProcessor
.(package private) static SpanProcessor
NoopSpanProcessor. getInstance()
Methods in io.opentelemetry.sdk.trace with parameters of type SpanProcessor Modifier and Type Method Description SdkTracerProviderBuilder
SdkTracerProviderBuilder. addSpanProcessor(SpanProcessor spanProcessor)
Add a SpanProcessor to the span pipeline that will be built.static SpanProcessor
SpanProcessor. composite(SpanProcessor... processors)
Returns aSpanProcessor
which simply delegates all processing to theprocessors
in order.(package private) static SdkSpan
SdkSpan. startSpan(SpanContext context, java.lang.String name, InstrumentationScopeInfo instrumentationScopeInfo, SpanKind kind, Span parentSpan, Context parentContext, SpanLimits spanLimits, SpanProcessor spanProcessor, Clock tracerClock, Resource resource, AttributesMap attributes, java.util.List<LinkData> links, int totalRecordedLinks, long userStartEpochNanos)
Creates and starts a span with the given configuration.Method parameters in io.opentelemetry.sdk.trace with type arguments of type SpanProcessor Modifier and Type Method Description static SpanProcessor
SpanProcessor. composite(java.lang.Iterable<SpanProcessor> processors)
Returns aSpanProcessor
which simply delegates all processing to theprocessors
in order.(package private) static SpanProcessor
MultiSpanProcessor. create(java.util.List<SpanProcessor> spanProcessorList)
Creates a newMultiSpanProcessor
.Constructors in io.opentelemetry.sdk.trace with parameters of type SpanProcessor Constructor Description SdkSpan(SpanContext context, java.lang.String name, InstrumentationScopeInfo instrumentationScopeInfo, SpanKind kind, SpanContext parentSpanContext, SpanLimits spanLimits, SpanProcessor spanProcessor, AnchoredClock clock, Resource resource, AttributesMap attributes, java.util.List<LinkData> links, int totalRecordedLinks, long startEpochNanos)
Constructor parameters in io.opentelemetry.sdk.trace with type arguments of type SpanProcessor Constructor Description MultiSpanProcessor(java.util.List<SpanProcessor> spanProcessors)
SdkTracerProvider(Clock clock, IdGenerator idsGenerator, Resource resource, java.util.function.Supplier<SpanLimits> spanLimitsSupplier, Sampler sampler, java.util.List<SpanProcessor> spanProcessors, ScopeConfigurator<TracerConfig> tracerConfigurator)
TracerSharedState(Clock clock, IdGenerator idGenerator, Resource resource, java.util.function.Supplier<SpanLimits> spanLimitsSupplier, Sampler sampler, java.util.List<SpanProcessor> spanProcessors)
-
Uses of SpanProcessor in io.opentelemetry.sdk.trace.export
Classes in io.opentelemetry.sdk.trace.export that implement SpanProcessor Modifier and Type Class Description class
BatchSpanProcessor
Implementation of theSpanProcessor
that batches spans exported by the SDK then pushes them to the exporter pipeline.class
SimpleSpanProcessor
An implementation of theSpanProcessor
that converts theReadableSpan
toSpanData
and passes it directly to the configured exporter.Methods in io.opentelemetry.sdk.trace.export that return SpanProcessor Modifier and Type Method Description static SpanProcessor
SimpleSpanProcessor. create(SpanExporter exporter)
Returns a newSimpleSpanProcessor
which exports spans to theSpanExporter
synchronously. -
Uses of SpanProcessor in io.opentelemetry.sdk.trace.internal
Subinterfaces of SpanProcessor in io.opentelemetry.sdk.trace.internal Modifier and Type Interface Description interface
ExtendedSpanProcessor
ExtendedSpanProcessor
with experimental APIs.
-