Skip to content

Commit

Permalink
Specify which span kind to use for settle operations
Browse files Browse the repository at this point in the history
  • Loading branch information
joaopgrassi committed Oct 15, 2024
1 parent 9e4d991 commit 13aaa11
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/messaging/messaging-spans.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,10 @@ Span kind SHOULD be set according to the following table, based on the operation
| `send` | `PRODUCER` if the context of the "Send" span is used as creation context, otherwise `CLIENT`. |
| `receive` | `CLIENT` |
| `process` | `CONSUMER` |
| `settle` | (see below) |

The span kind of a `settle` operation SHOULD be set to `CLIENT` if the span
models a synchronous call to the intermediary. In other cases, it can be set to `INTERNAL`.

Setting span kinds according to this table allows analysis tools to interpret spans
and relationships between them without the need for additional semantic hints.
Expand Down

0 comments on commit 13aaa11

Please sign in to comment.