Skip to content

Commit ed3200a

Browse files
committed
Integrate suggested feedback
1 parent 546a16e commit ed3200a

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

specification/api-tracing.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -258,9 +258,6 @@ as a separate operation.
258258
The API MUST accept the following parameters:
259259

260260
- The span name. This is a required parameter.
261-
- The parent Span or parent Span context, and whether the new `Span` should be a
262-
root `Span`. API MAY also have an option for implicit parent context
263-
extraction from the current context as a default behavior.
264261
- The parent `Span` or a `Context` containing a parent `Span` or `SpanContext`,
265262
and whether the new `Span` should be a root `Span`. API MAY also have an
266263
option for implicit parenting from the current context as a default behavior.
@@ -298,16 +295,14 @@ parent is remote.
298295

299296
#### Parenting from a Context
300297

301-
When a new `Span` is created from a `Context` there are several scenarios to
302-
consider when selecting a parent. A `Context` can contain:
298+
When a new `Span` is created from a `Context` the `Context` may contain:
303299

304300
- A current `Span`
305301
- An extracted `SpanContext`
306302
- A current `Span` and an extracted `SpanContext`
307303
- Neither a current `Span` or an extracted `Span` context
308304

309-
In order handle these scenarios, a convention has been established for assigning
310-
a parent from a `Context`. The precedence for parent selection is as follows:
305+
The parent should be selected in the following order of precedence:
311306

312307
- Use the current `Span`.
313308
- Use the extracted `SpanContext`.

0 commit comments

Comments
 (0)