We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3728490 commit 3d6c140Copy full SHA for 3d6c140
instrumentation-annotations/src/main/java/io/opentelemetry/instrumentation/annotations/WithSpan.java
@@ -39,10 +39,10 @@
39
/**
40
* Specifies whether to use the current context as the parent when creating a Span.
41
*
42
- * <p>If set to {@code true} (default), the created span will inherit the existing parent context,
43
- * forming part of the same trace.
+ * <p>If set to {@code true} (default), the newly created span will use the current context as its
+ * parent, forming part of the same trace.
44
45
- * <p>If set to {@code false}, the created span will use {@link Context#root()} and have no
+ * <p>If set to {@code false}, the newly created span will use {@link Context#root()} as its
46
* parent, starting a new trace independently.
47
*/
48
boolean withParent() default true;
0 commit comments