Skip to content

Commit 3ed4a27

Browse files
committed
Add links to versioned conventions
1 parent 9c78fe9 commit 3ed4a27

File tree

1 file changed

+14
-12
lines changed

1 file changed

+14
-12
lines changed

semantic_conventions/trace/instrumentation/azure-sdk.yml

+14-12
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,19 @@ groups:
2626
span_kind: client
2727
brief: 'Describes HTTP client spans created per HTTP request (try).'
2828
note: >
29-
This conventions follows [OpenTelemetry HTTP](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/semantic_conventions/http.md)
29+
This conventions follows [OpenTelemetry HTTP conventions v1.6.](https://github.com/open-telemetry/opentelemetry-specification/blob/v1.6.x/specification/trace/semantic_conventions/http.md)
3030
but omits all optional attributes, providing only `http.url` to describe destination. It adds request-id attributes supported by Azure services.
3131
attributes:
32+
- id: request_id
33+
type: string
34+
required: always
35+
brief: 'Value of the [x-ms-client-request-id] header (or other request-id header, depending on the service) sent by the client.'
36+
examples: ['eb178587-c05a-418c-a695-ae9466c5303c']
37+
- id: service_request_id
38+
type: string
39+
required: always
40+
brief: 'Value of the [x-ms-request-id] header (or other request-id header, depending on the service) sent by the server in response.'
41+
examples: ['3f828ae5-ecb9-40ab-88d9-db0420af30c6']
3242
- id: http.method
3343
type: string
3444
required: always
@@ -52,21 +62,12 @@ groups:
5262
required: always
5363
brief: 'Value of the [HTTP User-Agent](https://tools.ietf.org/html/rfc7231#section-5.5.3) or X-MS-UserAgent header sent by the client.'
5464
examples: ['CERN-LineMode/2.15 libwww/2.17b3']
55-
- id: request_id
56-
type: string
57-
required: always
58-
brief: 'Value of the [x-ms-client-request-id] header (or other request-id header, depending on the service) sent by the client.'
59-
examples: ['eb178587-c05a-418c-a695-ae9466c5303c']
60-
- id: service_request_id
61-
type: string
62-
required: always
63-
brief: 'Value of the [x-ms-request-id] header (or other request-id header, depending on the service) sent by the server in response.'
64-
examples: ['3f828ae5-ecb9-40ab-88d9-db0420af30c6']
6565

6666
# messaging
6767
- id: azure-sdk.messaging
6868
brief: 'Describes Azure messaging SDKs spans.'
6969
extends: azure-sdk
70+
note: Implements OpenTracing MessageBus conventions https://opentracing.io/specification/conventions/
7071
attributes:
7172
- id: message_bus.destination
7273
type: string
@@ -97,12 +98,13 @@ groups:
9798
Contains links to all messages contexts being consumed. Each link has attribute `enqueuedTime` (with `long` type)
9899
attribute with unix epoch time with milliseconds precision representing when message was enqueued.
99100
100-
# cosmosDB
101+
# CosmosDB
101102
- id: azure-sdk.cosmos
102103
span_kind: client
103104
brief: 'Describes Azure CosmosDB spans.'
104105
note: >
105106
Events with additional debug info are added for long running operations.
107+
Implements https://github.com/open-telemetry/opentelemetry-specification/blob/v0.5.0/specification/trace/semantic_conventions/database.md
106108
extends: azure-sdk
107109
attributes:
108110
- id: db.url

0 commit comments

Comments
 (0)