Dropwizard views metadata (#14472)
This commit is contained in:
parent
b586bc2d09
commit
a7fc2147da
|
|
@ -2258,6 +2258,8 @@ libraries:
|
|||
type: boolean
|
||||
default: false
|
||||
- name: dropwizard-views-0.7
|
||||
description: This instrumentation enables the creation of spans for Dropwizard
|
||||
views.
|
||||
source_path: instrumentation/dropwizard/dropwizard-views-0.7
|
||||
scope:
|
||||
name: io.opentelemetry.dropwizard-views-0.7
|
||||
|
|
@ -2269,6 +2271,11 @@ libraries:
|
|||
description: Enables the creation of experimental view (INTERNAL) spans.
|
||||
type: boolean
|
||||
default: false
|
||||
telemetry:
|
||||
- when: otel.instrumentation.common.experimental.view-telemetry.enabled=true
|
||||
spans:
|
||||
- span_kind: INTERNAL
|
||||
attributes: []
|
||||
elasticsearch:
|
||||
- name: elasticsearch-api-client-7.16
|
||||
description: This instrumentation enables client spans for Elasticsearch API client
|
||||
|
|
|
|||
|
|
@ -130,6 +130,7 @@ readonly INSTRUMENTATIONS=(
|
|||
"couchbase:couchbase-2.6:javaagent:test"
|
||||
"couchbase:couchbase-2.6:javaagent:testStableSemconv"
|
||||
"couchbase:couchbase-2.6:javaagent:testExperimental"
|
||||
"dropwizard:dropwizard-views-0.7:javaagent:test"
|
||||
)
|
||||
|
||||
# Some instrumentation test suites don't run ARM, so we use colima to run them in an x86_64
|
||||
|
|
|
|||
|
|
@ -19,4 +19,7 @@ dependencies {
|
|||
|
||||
tasks.withType<Test>().configureEach {
|
||||
jvmArgs("-Dotel.instrumentation.common.experimental.view-telemetry.enabled=true")
|
||||
|
||||
systemProperty("collectMetadata", findProperty("collectMetadata")?.toString() ?: "false")
|
||||
systemProperty("metadataConfig", "otel.instrumentation.common.experimental.view-telemetry.enabled=true")
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
description: This instrumentation enables the creation of spans for Dropwizard views.
|
||||
configurations:
|
||||
- name: otel.instrumentation.common.experimental.view-telemetry.enabled
|
||||
description: Enables the creation of experimental view (INTERNAL) spans.
|
||||
|
|
|
|||
Loading…
Reference in New Issue