-
Notifications
You must be signed in to change notification settings - Fork 1k
Description
As part of #13468 we collect and analyze the telemetry emitted by each module's tests in order to document the metrics, span kinds, and attributes. Many of our modules will have individual test suites configured for different configurations, and this works well with our tooling, because we can then tag each test run with the associated configs. For example:
testing {
suites {
val testStableSemconv by registering(JvmTestSuite::class) {
targets {
all {
testTask.configure {
jvmArgs("-Dotel.semconv-stability.opt-in=database")
systemProperty("metadataConfig", "otel.semconv-stability.opt-in=database")
}
}
}
}
}
}
tasks {
withType<Test>().configureEach {
systemProperty("collectMetadata", findProperty("collectMetadata")?.toString() ?: "false")
}
check {
dependsOn(testing.suites)
}
}
While going through and enabling telemetry collection for #14098 and #14104, there are modules that test everything at once, making it difficult to identify the "default" behavior if no configurations are enabled.
This may not make sense for every module, but this issue is to track modules that should be evaluated, and if it would be valuable, separate out the test suites. This will also involve updating the test assertions so that they are conditionally checking for attributes based on system properties as well.
Instrumentation List:
- aws-sdk-1.11
- aws-sdk-2.2
- elasticsearch-transport-5.0 Elasticsearch instrumentation metadata #14164
- elasticsearch-transport-5.3 Elasticsearch instrumentation metadata #14164
- elasticsearch-transport-6.0 Elasticsearch instrumentation metadata #14164
- camel-2.0 Split out camel experimental assertions #14433
- couchbase Couchbase metadata #14466
- graphql-java-20.0 Metadata for graphql-java #14526
- grpc-1.6 gRPC Metadata #14573
- hibernate 3, 4, 6 Hibernate metadata #14584
- hystrix Hystrix metadata #14604
- guava-10.0
- lettuce-4.0
- lettuce-5.0
- spymemcached-2.12
Metadata
Metadata
Assignees
Labels
Type
Projects
Status