Skip to content

Commit d15af5e

Browse files
committed
opensearch collect telemetry
1 parent fddb1ed commit d15af5e

File tree

5 files changed

+321
-180
lines changed

5 files changed

+321
-180
lines changed

docs/instrumentation-list.yaml

Lines changed: 138 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3361,11 +3361,7 @@ libraries:
33613361
- when: otel.instrumentation.common.experimental.controller-telemetry.enabled=true
33623362
spans:
33633363
- span_kind: INTERNAL
3364-
attributes:
3365-
- name: code.function
3366-
type: STRING
3367-
- name: code.namespace
3368-
type: STRING
3364+
attributes: []
33693365
graphql:
33703366
- name: graphql-java-12.0
33713367
description: This instrumentation enables spans for GraphQL Java operations.
@@ -3760,6 +3756,44 @@ libraries:
37603756
type: STRING
37613757
- name: rpc.system
37623758
type: STRING
3759+
helidon:
3760+
- name: helidon-4.3
3761+
description: This instrumentation enables HTTP server spans and HTTP server metrics
3762+
for the Helidon HTTP server.
3763+
library_link: https://helidon.io/
3764+
source_path: instrumentation/helidon-4.3
3765+
minimum_java_version: 21
3766+
scope:
3767+
name: io.opentelemetry.helidon-4.3
3768+
target_versions:
3769+
javaagent:
3770+
- io.helidon.webserver:helidon-webserver:[4.3.0,)
3771+
library:
3772+
- io.helidon.webserver:helidon-webserver:4.3.0
3773+
configurations:
3774+
- name: otel.instrumentation.http.known-methods
3775+
description: |
3776+
Configures the instrumentation to recognize an alternative set of HTTP request methods. All other methods will be treated as `_OTHER`.
3777+
type: list
3778+
default: CONNECT,DELETE,GET,HEAD,OPTIONS,PATCH,POST,PUT,TRACE
3779+
- name: otel.instrumentation.http.server.capture-request-headers
3780+
description: List of HTTP request headers to capture in HTTP server telemetry.
3781+
type: list
3782+
default: ''
3783+
- name: otel.instrumentation.http.server.capture-response-headers
3784+
description: List of HTTP response headers to capture in HTTP server telemetry.
3785+
type: list
3786+
default: ''
3787+
- name: otel.instrumentation.common.peer-service-mapping
3788+
description: Used to specify a mapping from host names or IP addresses to peer
3789+
services.
3790+
type: map
3791+
default: ''
3792+
- name: otel.instrumentation.http.server.emit-experimental-telemetry
3793+
description: |
3794+
Enable the capture of experimental HTTP server telemetry. Adds the `http.request.body.size` and `http.response.body.size` attributes to spans, and records `http.server.request.body.size` and `http.server.response.body.size` metrics.
3795+
type: boolean
3796+
default: false
37633797
hibernate:
37643798
- name: hibernate-3.3
37653799
description: |
@@ -4691,20 +4725,39 @@ libraries:
46914725
target_versions:
46924726
javaagent:
46934727
- javax.xml.ws:jaxws-api:[2.0,]
4728+
telemetry:
4729+
- when: otel.instrumentation.common.experimental.controller-telemetry.enabled=true
4730+
spans:
4731+
- span_kind: INTERNAL
4732+
attributes:
4733+
- name: code.function
4734+
type: STRING
4735+
- name: code.namespace
4736+
type: STRING
46944737
- name: jaxws-2.0-axis2-1.6
46954738
source_path: instrumentation/jaxws/jaxws-2.0-axis2-1.6
46964739
scope:
46974740
name: io.opentelemetry.jaxws-2.0-axis2-1.6
46984741
target_versions:
46994742
javaagent:
47004743
- org.apache.axis2:axis2-jaxws:[1.6.0,)
4744+
telemetry:
4745+
- when: otel.instrumentation.common.experimental.controller-telemetry.enabled=true
4746+
spans:
4747+
- span_kind: INTERNAL
4748+
attributes: []
47014749
- name: jaxws-cxf-3.0
47024750
source_path: instrumentation/jaxws/jaxws-cxf-3.0
47034751
scope:
47044752
name: io.opentelemetry.jaxws-cxf-3.0
47054753
target_versions:
47064754
javaagent:
47074755
- org.apache.cxf:cxf-rt-frontend-jaxws:[3.0.0,)
4756+
telemetry:
4757+
- when: otel.instrumentation.common.experimental.controller-telemetry.enabled=true
4758+
spans:
4759+
- span_kind: INTERNAL
4760+
attributes: []
47084761
- name: jaxws-jws-api-1.1
47094762
disabled_by_default: true
47104763
source_path: instrumentation/jaxws/jaxws-jws-api-1.1
@@ -4713,6 +4766,15 @@ libraries:
47134766
target_versions:
47144767
javaagent:
47154768
- javax.jws:javax.jws-api:[1.1,]
4769+
telemetry:
4770+
- when: otel.instrumentation.common.experimental.controller-telemetry.enabled=true
4771+
spans:
4772+
- span_kind: INTERNAL
4773+
attributes:
4774+
- name: code.function
4775+
type: STRING
4776+
- name: code.namespace
4777+
type: STRING
47164778
- name: jaxws-metro-2.2
47174779
source_path: instrumentation/jaxws/jaxws-metro-2.2
47184780
scope:
@@ -5305,8 +5367,6 @@ libraries:
53055367
type: STRING
53065368
- name: messaging.destination.temporary
53075369
type: BOOLEAN
5308-
- name: messaging.header.captured_header
5309-
type: STRING_ARRAY
53105370
- name: messaging.message.body.size
53115371
type: LONG
53125372
- name: messaging.operation
@@ -5321,8 +5381,6 @@ libraries:
53215381
type: STRING
53225382
- name: messaging.destination.temporary
53235383
type: BOOLEAN
5324-
- name: messaging.header.captured_header
5325-
type: STRING_ARRAY
53265384
- name: messaging.message.body.size
53275385
type: LONG
53285386
- name: messaging.operation
@@ -5820,6 +5878,35 @@ libraries:
58205878
- name: gen_ai.usage.output_tokens
58215879
type: LONG
58225880
opensearch:
5881+
- name: opensearch-java-3.0
5882+
source_path: instrumentation/opensearch/opensearch-java-3.0
5883+
minimum_java_version: 11
5884+
scope:
5885+
name: io.opentelemetry.opensearch-java-3.0
5886+
target_versions:
5887+
javaagent:
5888+
- org.opensearch.client:opensearch-java:[3.0,)
5889+
telemetry:
5890+
- when: default
5891+
spans:
5892+
- span_kind: CLIENT
5893+
attributes:
5894+
- name: db.operation
5895+
type: STRING
5896+
- name: db.statement
5897+
type: STRING
5898+
- name: db.system
5899+
type: STRING
5900+
- when: otel.semconv-stability.opt-in=database
5901+
spans:
5902+
- span_kind: CLIENT
5903+
attributes:
5904+
- name: db.operation.name
5905+
type: STRING
5906+
- name: db.query.text
5907+
type: STRING
5908+
- name: db.system.name
5909+
type: STRING
58235910
- name: opensearch-rest-1.0
58245911
source_path: instrumentation/opensearch/opensearch-rest-1.0
58255912
minimum_java_version: 11
@@ -5828,6 +5915,27 @@ libraries:
58285915
target_versions:
58295916
javaagent:
58305917
- org.opensearch.client:opensearch-rest-client:[1.0,3.0)
5918+
telemetry:
5919+
- when: default
5920+
spans:
5921+
- span_kind: CLIENT
5922+
attributes:
5923+
- name: db.operation
5924+
type: STRING
5925+
- name: db.statement
5926+
type: STRING
5927+
- name: db.system
5928+
type: STRING
5929+
- when: otel.semconv-stability.opt-in=database
5930+
spans:
5931+
- span_kind: CLIENT
5932+
attributes:
5933+
- name: db.operation.name
5934+
type: STRING
5935+
- name: db.query.text
5936+
type: STRING
5937+
- name: db.system.name
5938+
type: STRING
58315939
- name: opensearch-rest-3.0
58325940
source_path: instrumentation/opensearch/opensearch-rest-3.0
58335941
minimum_java_version: 11
@@ -5836,6 +5944,27 @@ libraries:
58365944
target_versions:
58375945
javaagent:
58385946
- org.opensearch.client:opensearch-rest-client:[3.0,)
5947+
telemetry:
5948+
- when: default
5949+
spans:
5950+
- span_kind: CLIENT
5951+
attributes:
5952+
- name: db.operation
5953+
type: STRING
5954+
- name: db.statement
5955+
type: STRING
5956+
- name: db.system
5957+
type: STRING
5958+
- when: otel.semconv-stability.opt-in=database
5959+
spans:
5960+
- span_kind: CLIENT
5961+
attributes:
5962+
- name: db.operation.name
5963+
type: STRING
5964+
- name: db.query.text
5965+
type: STRING
5966+
- name: db.system.name
5967+
type: STRING
58395968
oracle:
58405969
- name: oracle-ucp-11.2
58415970
description: The Oracle Universal Connection Pool (UCP) instrumentation generates

0 commit comments

Comments
 (0)