Skip to content

Commit

Permalink
clarify per-platform behavior in UI
Browse files Browse the repository at this point in the history
  • Loading branch information
SylvainJuge committed Jun 6, 2023
1 parent 2a87148 commit c08703d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions specs/agents/tracing-spans.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,11 @@ If a span is created without a valid `name`, the string `"unnamed"` SHOULD be us
Span execution within a transaction or span can be synchronous (the caller waits for completion), or asynchronous (the caller does not wait
for completion).

In UI
In UI:

- when `sync` field is not present or `null`, we assume it's the platform default and no badge is shown.
- when `sync` field is set to `true`, a `blocking` badge is shown in traces.
- when `sync` field is set to `false`, an `async` badge is shown in traces.
- when `sync` field is set to `true`, a `blocking` badge is shown in traces where the platform default is `async`: `nodejs`, `rum` and `javascript`
- when `sync` field is set to `false`, an `async` badge is shown in traces where the platform default is `blocking`: other agents

### Span outcome

Expand Down

0 comments on commit c08703d

Please sign in to comment.