Skip to content

Commit 44d26c0

Browse files
authored
Dropwizard and Elasticsearch metadata updates (#15108)
1 parent c604eeb commit 44d26c0

File tree

9 files changed

+50
-8
lines changed

9 files changed

+50
-8
lines changed

docs/instrumentation-list.yaml

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3122,9 +3122,11 @@ libraries:
31223122
type: boolean
31233123
default: false
31243124
- name: dropwizard-views-0.7
3125-
description: This instrumentation enables the creation of spans for Dropwizard
3126-
views.
3125+
description: |
3126+
This instrumentation enables view spans for Dropwizard view template rendering (view spans are disabled by default).
31273127
library_link: https://www.dropwizard.io/en/latest/manual/views.html
3128+
features:
3129+
- VIEW_SPANS
31283130
source_path: instrumentation/dropwizard/dropwizard-views-0.7
31293131
scope:
31303132
name: io.opentelemetry.dropwizard-views-0.7
@@ -3144,7 +3146,7 @@ libraries:
31443146
elasticsearch:
31453147
- name: elasticsearch-api-client-7.16
31463148
description: |
3147-
This instrumentation extends the elasticsearch-rest-7.0 instrumentation by adding additional `db.elasticsearch.path_parts.id` and `db.elasticsearch.path_parts.index` attributes to Elasticsearch database client spans. Versions 8.10 and later of the client have native support for OpenTelemetry.
3149+
This instrumentation enriches Elasticsearch database client spans generated by the elasticsearch-rest-7.0 instrumentation by adding `db.elasticsearch.path_parts.id` and `db.elasticsearch.path_parts.index` attributes. It does not emit any telemetry on its own. Versions 8.10 and later of the Elasticsearch Java client have native OpenTelemetry support.
31483150
library_link: https://www.elastic.co/docs/reference/elasticsearch/clients/java
31493151
source_path: instrumentation/elasticsearch/elasticsearch-api-client-7.16
31503152
scope:
@@ -3211,6 +3213,9 @@ libraries:
32113213
- name: elasticsearch-rest-5.0
32123214
description: This instrumentation enables database client spans and database client
32133215
metrics for Elasticsearch REST clients.
3216+
semantic_conventions:
3217+
- DATABASE_CLIENT_SPANS
3218+
- DATABASE_CLIENT_METRICS
32143219
library_link: https://www.elastic.co/guide/en/elasticsearch/client/java-rest
32153220
source_path: instrumentation/elasticsearch/elasticsearch-rest-5.0
32163221
scope:
@@ -3274,6 +3279,9 @@ libraries:
32743279
- name: elasticsearch-rest-6.4
32753280
description: This instrumentation enables database client spans and database client
32763281
metrics for Elasticsearch REST clients.
3282+
semantic_conventions:
3283+
- DATABASE_CLIENT_SPANS
3284+
- DATABASE_CLIENT_METRICS
32773285
library_link: https://www.elastic.co/guide/en/elasticsearch/client/java-rest
32783286
source_path: instrumentation/elasticsearch/elasticsearch-rest-6.4
32793287
scope:
@@ -3336,6 +3344,9 @@ libraries:
33363344
- name: elasticsearch-rest-7.0
33373345
description: This instrumentation enables database client spans and database client
33383346
metrics for Elasticsearch REST clients.
3347+
semantic_conventions:
3348+
- DATABASE_CLIENT_SPANS
3349+
- DATABASE_CLIENT_METRICS
33393350
library_link: https://www.elastic.co/guide/en/elasticsearch/client/java-rest
33403351
source_path: instrumentation/elasticsearch/elasticsearch-rest-7.0
33413352
scope:
@@ -3400,6 +3411,9 @@ libraries:
34003411
- name: elasticsearch-transport-5.0
34013412
description: |
34023413
This instrumentation enables database client spans and database client metrics for Elasticsearch transport client requests. Each call produces a span named after the Elasticsearch action, enriched with transport-specific attributes.
3414+
semantic_conventions:
3415+
- DATABASE_CLIENT_SPANS
3416+
- DATABASE_CLIENT_METRICS
34033417
library_link: https://www.elastic.co/guide/en/elasticsearch/client/java-api/
34043418
source_path: instrumentation/elasticsearch/elasticsearch-transport-5.0
34053419
scope:
@@ -3493,6 +3507,9 @@ libraries:
34933507
- name: elasticsearch-transport-5.3
34943508
description: |
34953509
This instrumentation enables database client spans and database client metrics for Elasticsearch transport client requests. Each call produces a span named after the Elasticsearch action, enriched with transport-specific attributes.
3510+
semantic_conventions:
3511+
- DATABASE_CLIENT_SPANS
3512+
- DATABASE_CLIENT_METRICS
34963513
library_link: https://www.elastic.co/guide/en/elasticsearch/client/java-api/
34973514
source_path: instrumentation/elasticsearch/elasticsearch-transport-5.3
34983515
scope:
@@ -3591,6 +3608,9 @@ libraries:
35913608
- name: elasticsearch-transport-6.0
35923609
description: |
35933610
This instrumentation enables database client spans and database client metrics for Elasticsearch transport client requests. Each call produces a span named after the Elasticsearch action, enriched with transport-specific attributes.
3611+
semantic_conventions:
3612+
- DATABASE_CLIENT_SPANS
3613+
- DATABASE_CLIENT_METRICS
35943614
library_link: https://www.elastic.co/guide/en/elasticsearch/client/java-api/
35953615
source_path: instrumentation/elasticsearch/elasticsearch-transport-6.0
35963616
scope:

instrumentation/dropwizard/dropwizard-views-0.7/metadata.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
description: This instrumentation enables the creation of spans for Dropwizard views.
1+
description: >
2+
This instrumentation enables view spans for Dropwizard view template rendering
3+
(view spans are disabled by default).
4+
features:
5+
- VIEW_SPANS
26
library_link: https://www.dropwizard.io/en/latest/manual/views.html
37
configurations:
48
- name: otel.instrumentation.common.experimental.view-telemetry.enabled
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
description: >
2-
This instrumentation extends the elasticsearch-rest-7.0 instrumentation by adding
3-
additional `db.elasticsearch.path_parts.id` and `db.elasticsearch.path_parts.index` attributes to
4-
Elasticsearch database client spans. Versions 8.10 and later of the client have native support for
5-
OpenTelemetry.
2+
This instrumentation enriches Elasticsearch database client spans generated by the
3+
elasticsearch-rest-7.0 instrumentation by adding `db.elasticsearch.path_parts.id` and
4+
`db.elasticsearch.path_parts.index` attributes. It does not emit any telemetry on its own.
5+
Versions 8.10 and later of the Elasticsearch Java client have native OpenTelemetry support.
66
library_link: https://www.elastic.co/docs/reference/elasticsearch/clients/java

instrumentation/elasticsearch/elasticsearch-rest-5.0/metadata.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
description: This instrumentation enables database client spans and database client metrics for Elasticsearch REST clients.
2+
semantic_conventions:
3+
- DATABASE_CLIENT_SPANS
4+
- DATABASE_CLIENT_METRICS
25
library_link: https://www.elastic.co/guide/en/elasticsearch/client/java-rest
36
configurations:
47
- name: otel.instrumentation.elasticsearch.capture-search-query

instrumentation/elasticsearch/elasticsearch-rest-6.4/metadata.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
description: This instrumentation enables database client spans and database client metrics for Elasticsearch REST clients.
2+
semantic_conventions:
3+
- DATABASE_CLIENT_SPANS
4+
- DATABASE_CLIENT_METRICS
25
library_link: https://www.elastic.co/guide/en/elasticsearch/client/java-rest
36
configurations:
47
- name: otel.instrumentation.elasticsearch.capture-search-query

instrumentation/elasticsearch/elasticsearch-rest-7.0/metadata.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
description: This instrumentation enables database client spans and database client metrics for Elasticsearch REST clients.
2+
semantic_conventions:
3+
- DATABASE_CLIENT_SPANS
4+
- DATABASE_CLIENT_METRICS
25
library_link: https://www.elastic.co/guide/en/elasticsearch/client/java-rest
36
configurations:
47
- name: otel.instrumentation.elasticsearch.capture-search-query

instrumentation/elasticsearch/elasticsearch-transport-5.0/metadata.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ description: >
22
This instrumentation enables database client spans and database client metrics for Elasticsearch
33
transport client requests. Each call produces a span named after the Elasticsearch action,
44
enriched with transport-specific attributes.
5+
semantic_conventions:
6+
- DATABASE_CLIENT_SPANS
7+
- DATABASE_CLIENT_METRICS
58
library_link: https://www.elastic.co/guide/en/elasticsearch/client/java-api/
69
configurations:
710
- name: otel.instrumentation.elasticsearch.experimental-span-attributes

instrumentation/elasticsearch/elasticsearch-transport-5.3/metadata.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ description: >
22
This instrumentation enables database client spans and database client metrics for Elasticsearch
33
transport client requests. Each call produces a span named after the Elasticsearch action,
44
enriched with transport-specific attributes.
5+
semantic_conventions:
6+
- DATABASE_CLIENT_SPANS
7+
- DATABASE_CLIENT_METRICS
58
library_link: https://www.elastic.co/guide/en/elasticsearch/client/java-api/
69
configurations:
710
- name: otel.instrumentation.elasticsearch.experimental-span-attributes

instrumentation/elasticsearch/elasticsearch-transport-6.0/metadata.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ description: >
22
This instrumentation enables database client spans and database client metrics for Elasticsearch
33
transport client requests. Each call produces a span named after the Elasticsearch action,
44
enriched with transport-specific attributes.
5+
semantic_conventions:
6+
- DATABASE_CLIENT_SPANS
7+
- DATABASE_CLIENT_METRICS
58
library_link: https://www.elastic.co/guide/en/elasticsearch/client/java-api/
69
configurations:
710
- name: otel.instrumentation.elasticsearch.experimental-span-attributes

0 commit comments

Comments
 (0)