Skip to content

Commit 44cccc8

Browse files
committed
Fix NonRecordingSpan javadoc
1 parent 74fdbae commit 44cccc8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sdk/trace/src/main/java/io/opentelemetry/sdk/trace/NonRecordingSpan.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717

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

0 commit comments

Comments
 (0)