File tree Expand file tree Collapse file tree 4 files changed +12
-8
lines changed
instrumentation/dropwizard/dropwizard-views-0.7 Expand file tree Collapse file tree 4 files changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -2258,21 +2258,24 @@ libraries:
22582258 type : boolean
22592259 default : false
22602260 - name : dropwizard-views-0.7
2261+ description : This instrumentation enables the creation of spans for Dropwizard
2262+ views.
22612263 source_path : instrumentation/dropwizard/dropwizard-views-0.7
22622264 scope :
22632265 name : io.opentelemetry.dropwizard-views-0.7
22642266 target_versions :
22652267 javaagent :
22662268 - io.dropwizard:dropwizard-views:(,3.0.0)
22672269 configurations :
2268- - name : otel.instrumentation.common.experimental.view-telemetry.enabled
2269- description : Enables the creation of experimental view (INTERNAL) spans.
2270- type : boolean
2271- default : false
22722270 - name : otel.instrumentation.common.experimental.controller-telemetry.enabled
22732271 description : Enables the creation of experimental controller (INTERNAL) spans.
22742272 type : boolean
22752273 default : false
2274+ telemetry :
2275+ - when : otel.instrumentation.common.experimental.controller-telemetry.enabled=true
2276+ spans :
2277+ - span_kind : INTERNAL
2278+ attributes : []
22762279 elasticsearch :
22772280 - name : elasticsearch-api-client-7.16
22782281 description : This instrumentation enables client spans for Elasticsearch API client
Original file line number Diff line number Diff line change @@ -130,6 +130,7 @@ readonly INSTRUMENTATIONS=(
130130 " couchbase:couchbase-2.6:javaagent:test"
131131 " couchbase:couchbase-2.6:javaagent:testStableSemconv"
132132 " couchbase:couchbase-2.6:javaagent:testExperimental"
133+ " dropwizard:dropwizard-views-0.7:javaagent:test"
133134)
134135
135136# Some instrumentation test suites don't run ARM, so we use colima to run them in an x86_64
Original file line number Diff line number Diff line change @@ -19,4 +19,7 @@ dependencies {
1919
2020tasks.withType<Test >().configureEach {
2121 jvmArgs(" -Dotel.instrumentation.common.experimental.controller-telemetry.enabled=true" )
22+
23+ systemProperty(" collectMetadata" , findProperty(" collectMetadata" )?.toString() ? : " false" )
24+ systemProperty(" metadataConfig" , " otel.instrumentation.common.experimental.controller-telemetry.enabled=true" )
2225}
Original file line number Diff line number Diff line change 1+ description : This instrumentation enables the creation of spans for Dropwizard views.
12configurations :
2- - name : otel.instrumentation.common.experimental.view-telemetry.enabled
3- description : Enables the creation of experimental view (INTERNAL) spans.
4- type : boolean
5- default : false
63 - name : otel.instrumentation.common.experimental.controller-telemetry.enabled
74 description : Enables the creation of experimental controller (INTERNAL) spans.
85 type : boolean
You can’t perform that action at this time.
0 commit comments