File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
instrumentation-annotations/src/main/java/io/opentelemetry/instrumentation/annotations Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 3939 /**
4040 * Specifies whether to use the current context as the parent when creating a Span.
4141 *
42- * <p>If set to {@code true} (default), the created span will inherit the existing parent context,
43- * forming part of the same trace.
42+ * <p>If set to {@code true} (default), the newly created span will use the current context as its
43+ * parent, forming part of the same trace.
4444 *
45- * <p>If set to {@code false}, the created span will use {@link Context#root()} and have no
45+ * <p>If set to {@code false}, the newly created span will use {@link Context#root()} as its
4646 * parent, starting a new trace independently.
4747 */
4848 boolean withParent () default true ;
You can’t perform that action at this time.
0 commit comments