Uses of Class
io.opentelemetry.sdk.trace.SpanLimits
Packages that use SpanLimits
Package
Description
The OpenTelemetry SDK implementation of tracing.
-
Uses of SpanLimits in io.opentelemetry.sdk.autoconfigure
Methods in io.opentelemetry.sdk.autoconfigure that return SpanLimitsModifier and TypeMethodDescription(package private) static SpanLimits
TracerProviderConfiguration.configureSpanLimits
(ConfigProperties config) -
Uses of SpanLimits in io.opentelemetry.sdk.trace
Subclasses of SpanLimits in io.opentelemetry.sdk.traceModifier and TypeClassDescription(package private) final class
(package private) static class
Fields in io.opentelemetry.sdk.trace declared as SpanLimitsModifier and TypeFieldDescriptionprivate static final SpanLimits
SpanLimits.DEFAULT
private final SpanLimits
SdkSpan.spanLimits
private final SpanLimits
SdkSpanBuilder.spanLimits
Fields in io.opentelemetry.sdk.trace with type parameters of type SpanLimitsModifier and TypeFieldDescriptionprivate Supplier
<SpanLimits> SdkTracerProviderBuilder.spanLimitsSupplier
private final Supplier
<SpanLimits> TracerSharedState.spanLimitsSupplier
Methods in io.opentelemetry.sdk.trace that return SpanLimitsModifier and TypeMethodDescriptionSpanLimitsBuilder.build()
Builds and returns aSpanLimits
with the values of this builder.(package private) static SpanLimits
SpanLimits.create
(int maxNumAttributes, int maxNumEvents, int maxNumLinks, int maxNumAttributesPerEvent, int maxNumAttributesPerLink, int maxAttributeLength) static SpanLimits
SpanLimits.getDefault()
Returns the defaultSpanLimits
.SdkTracerProvider.getSpanLimits()
Returns theSpanLimits
that are currently applied to created spans.(package private) SpanLimits
TracerSharedState.getSpanLimits()
Returns the currentSpanLimits
.Methods in io.opentelemetry.sdk.trace with parameters of type SpanLimitsModifier and TypeMethodDescriptionSdkTracerProviderBuilder.setSpanLimits
(SpanLimits spanLimits) Assign an initialSpanLimits
that should be used with this SDK.(package private) static SdkSpan
SdkSpan.startSpan
(SpanContext context, String name, InstrumentationScopeInfo instrumentationScopeInfo, SpanKind kind, Span parentSpan, Context parentContext, SpanLimits spanLimits, SpanProcessor spanProcessor, Clock tracerClock, Resource resource, AttributesMap attributes, 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 SpanLimitsModifier and TypeMethodDescriptionSdkTracerProviderBuilder.setSpanLimits
(Supplier<SpanLimits> spanLimitsSupplier) Assign aSupplier
ofSpanLimits
.Constructors in io.opentelemetry.sdk.trace with parameters of type SpanLimitsModifierConstructorDescriptionprivate
SdkSpan
(SpanContext context, String name, InstrumentationScopeInfo instrumentationScopeInfo, SpanKind kind, SpanContext parentSpanContext, SpanLimits spanLimits, SpanProcessor spanProcessor, AnchoredClock clock, Resource resource, AttributesMap attributes, List<LinkData> links, int totalRecordedLinks, long startEpochNanos) (package private)
SdkSpanBuilder
(String spanName, InstrumentationScopeInfo instrumentationScopeInfo, TracerSharedState tracerSharedState, SpanLimits spanLimits) Constructor parameters in io.opentelemetry.sdk.trace with type arguments of type SpanLimitsModifierConstructorDescription(package private)
SdkTracerProvider
(Clock clock, IdGenerator idsGenerator, Resource resource, Supplier<SpanLimits> spanLimitsSupplier, Sampler sampler, List<SpanProcessor> spanProcessors, ScopeConfigurator<TracerConfig> tracerConfigurator) (package private)
TracerSharedState
(Clock clock, IdGenerator idGenerator, Resource resource, Supplier<SpanLimits> spanLimitsSupplier, Sampler sampler, List<SpanProcessor> spanProcessors)