Skip to content

Commit 2f3f768

Browse files
committed
Better example for path parts
1 parent 697b7a5 commit 2f3f768

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

specification/trace/semantic_conventions/instrumentation/elasticsearch.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ Many Elasticsearch url paths allow dynamic values. These SHOULD be recorded in s
2020
reference the [elasticsearch schema](https://raw.githubusercontent.com/elastic/elasticsearch-specification/main/output/schema/schema.json)
2121
in order to map the path part values to their names.
2222

23-
| Attribute | Type | Description | Examples | Requirement Level |
24-
|-------------------------------------|---|---------------------------------------|---------------------|---|
25-
| `db.elasticsearch.path_parts.<key>` | string | A dynamic value in the url path. | `test-index`; `456` | Conditionally Required: [1] |
23+
| Attribute | Type | Description | Examples | Requirement Level |
24+
|-------------------------------------|---|---------------------------------------|------------------------------------------------------------------------------------------|---|
25+
| `db.elasticsearch.path_parts.<key>` | string | A dynamic value in the url path. | `db.elasticsearch.path_parts.index=test-index`; `db.elasticsearch.path_parts.doc_id=123` | Conditionally Required: [1] |
2626

2727
**[1]:** when the url has dynamic values
2828

0 commit comments

Comments
 (0)