Skip to content

Commit

Permalink
Specify which span kind to use for messaging settle operations (open-…
Browse files Browse the repository at this point in the history
  • Loading branch information
joaopgrassi authored Oct 16, 2024
1 parent 9deeb83 commit e038c11
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .chloggen/map-settle-span-kind.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
change_type: enhancement
component: messaging
note: Specify which span kind to use for messaging settle operations
issues: [1478]
subtext:
1 change: 1 addition & 0 deletions docs/messaging/messaging-spans.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ 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` | `CLIENT` |

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 e038c11

Please sign in to comment.