You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/messaging/messaging-spans.md
+9-4Lines changed: 9 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -191,19 +191,24 @@ Messaging spans SHOULD follow the overall [guidelines for span names](https://gi
191
191
192
192
<!-- markdown-link-check-disable -->
193
193
<!-- HTML anchors are not supported https://github.com/tcort/markdown-link-check/issues/225-->
194
-
The **span name** SHOULD be `{messaging.operation.name} {destination}` (see below for the exact definition of the [`{destination}`](#destination-placeholder) placeholder).
194
+
The **span name** SHOULD be `{messaging.operation.name} {destination}`
195
+
(see below for the exact definition of the [`{destination}`](#destination-placeholder) placeholder).
195
196
<!-- markdown-link-check-enable -->
196
197
197
-
Semantic conventions for individual messaging systems MAY specify different span name format and then MUST document it in semantic conventions for specific messaging technologies.
198
+
Semantic conventions for individual messaging systems MAY specify different
199
+
span name format and then MUST document it in semantic conventions
200
+
for specific messaging technologies.
198
201
199
-
The <spanid="destination-placeholder">`{destination}`</span> SHOULD describe the entity that the operation is performed against
202
+
The <spanid="destination-placeholder">`{destination}`</span>
203
+
SHOULD describe the entity that the operation is performed against
200
204
and SHOULD adhere to one of the following values, provided they are accessible:
201
205
202
206
1.`messaging.destination.template` SHOULD be used when it is available.
203
207
2.`messaging.destination.name` SHOULD be used when the destination is known to be neither [temporary nor anonymous](#temporary-and-anonymous-destinations).
204
208
3.`server.address:server.port` SHOULD be used only for operations not targeting any specific destination(s).
205
209
206
-
If a corresponding `{destination}` value is not available for a specific operation, the instrumentation SHOULD omit the `{destination}`.
210
+
If a (low-cardinality) corresponding `{destination}` value is not available for
211
+
a specific operation, the instrumentation SHOULD omit the `{destination}`.
0 commit comments