Skip to content

Commit 862c1a9

Browse files
committed
update based on spec changes
1 parent 9d1ca8c commit 862c1a9

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

docs/messaging/messaging-spans.md

+5-7
Original file line numberDiff line numberDiff line change
@@ -208,15 +208,13 @@ Span kind SHOULD be set according to the following table, based on the operation
208208

209209
| Operation type | Span kind|
210210
|----------------|-------------|
211-
| `create` | `PRODUCER` |
211+
| `create` | `PRODUCER` |
212212
| `publish` | `PRODUCER` if the context of the "Publish" span is used as creation context, otherwise `CLIENT`. |
213-
| `receive` | `CONSUMER` |
214-
| `process` | `CONSUMER` for push-based scenarios where no "Receive" span exists, otherwise `SERVER`. |
213+
| `receive` | `CLIENT` |
214+
| `process` | `CONSUMER` |
215215

216-
Setting span kinds according to this table ensures that there always exists a
217-
span link between a PRODUCER span on the producer side and a CONSUMER span on
218-
the consumer side. This allows analysis tools to interpret linked traces
219-
without the need for additional semantic hints.
216+
Setting span kinds according to this table allows analysis tools to interpret spans
217+
and relationships between them without the need for additional semantic hints.
220218

221219
### Trace structure
222220

0 commit comments

Comments
 (0)