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
# Semantic Conventions for Microsoft Azure Cosmos DB
23
+
The Semantic Conventions for [Microsoft Cosmos DB](https://azure.microsoft.com/products/cosmos-db/)
24
+
extend and override the [Database Semantic Conventions](README.md).
21
25
22
-
**Status**: [Experimental][DocumentStatus]
26
+
## Spans
23
27
24
-
The Semantic Conventions for [Microsoft Cosmos DB](https://azure.microsoft.com/products/cosmos-db/)
25
-
extend and override the [Database Semantic Conventions](database-spans.md).
28
+
Cosmos DB instrumentations include call-level spans that represent logical database
29
+
calls and adhere to the general [Semantic Conventions for Database Client Spans](database-spans.md).
26
30
27
-
## Attributes
31
+
Additional spans representing network calls may also be created depending on the connection mode (Gateway or Direct). Semantic conventions described in this document apply to the call-level spans only.
28
32
29
-
`db.system` MUST be set to `"cosmosdb"` and SHOULD be provided **at span creation time**.
33
+
The following table outlines the span attributes applicable to Cosmos DB.
30
34
31
-
Cosmos DB instrumentation includes call-level (public API) surface spans and network spans. Depending on the connection mode (Gateway or Direct), network-level spans may also be created.
35
+
`db.system` MUST be set to `"cosmosdb"`and SHOULD be provided **at span creation time**.
32
36
33
37
<!-- semconv span.db.cosmosdb.client -->
34
38
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
@@ -271,7 +275,7 @@ and SHOULD be provided **at span creation time** (if provided at all):
Copy file name to clipboardExpand all lines: docs/database/elasticsearch.md
+22-5Lines changed: 22 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,15 +6,25 @@ linkTitle: Elasticsearch
6
6
7
7
**Status**: [Experimental][DocumentStatus]
8
8
9
-
The Semantic Conventions for [Elasticsearch](https://www.elastic.co/) extend and override the [Database Semantic Conventions](database-spans.md).
9
+
<!-- toc -->
10
10
11
-
`db.system` MUST be set to `"elasticsearch"` and SHOULD be provided **at span creation time**.
11
+
-[Spans](#spans)
12
+
-[Example](#example)
13
+
-[Metrics](#metrics)
14
+
15
+
<!-- tocstop -->
16
+
17
+
The Semantic Conventions for [Elasticsearch](https://www.elastic.co/) extend and override the [Database Semantic Conventions](README.md).
12
18
13
-
## Span Name
19
+
## Spans
20
+
21
+
Spans representing calls to Elasticsearch adhere to the general [Semantic Conventions for Database Client Spans](database-spans.md).
14
22
15
23
The **span name** follows the [general database span name guidelines](database-spans.md#name) with the endpoint identifier stored in `db.operation.name`, and the index stored in `db.collection.name`.
16
24
17
-
## Attributes
25
+
`db.system` MUST be set to `"elasticsearch"` and SHOULD be provided **at span creation time**.
26
+
27
+
The following table outlines the span attributes applicable to Elasticsearch.
18
28
19
29
<!-- semconv span.db.elasticsearch.client -->
20
30
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
@@ -150,7 +160,7 @@ and SHOULD be provided **at span creation time** (if provided at all):
0 commit comments