Fix NonRecordingSpan javadoc

This commit is contained in:
Jonas Kunz 2025-06-30 10:34:12 +02:00
parent 74fdbae2b7
commit 44cccc80ff
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

View File

@ -17,8 +17,8 @@ import javax.annotation.concurrent.Immutable;
/**
* Span implementation used from {@link io.opentelemetry.sdk.trace.SdkTracer} when starting a span
* which is not recording. All operations are noop, except for {@link #end()}, which ensures health
* metrics are still collected.
* which is not recording. This span implementation behaves exactly like one returned from {@link Span#wrap(SpanContext)}
* with the addition that {@link #end()} collects health metrics.
*/
@Immutable
final class NonRecordingSpan implements Span {