Skip to content
295 changes: 279 additions & 16 deletions docs/instrumentation-list.yaml

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions instrumentation-docs/collect.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ readonly INSTRUMENTATIONS=(
# <module path (colon-separated)> : <javaagent|library> : [ gradle-task-suffix ]
"activej-http-6.0:javaagent:test"
"akka:akka-http-10.0:javaagent:test"
"armeria:armeria-grpc-1.14:javaagent:test"
"apache-httpasyncclient-4.1:javaagent:test"
"alibaba-druid-1.0:javaagent:test"
"alibaba-druid-1.0:javaagent:testStableSemconv"
Expand Down Expand Up @@ -82,6 +83,13 @@ readonly INSTRUMENTATIONS=(
"elasticsearch:elasticsearch-transport-6.0:javaagent:elasticsearch7Test"
"elasticsearch:elasticsearch-transport-6.0:javaagent:elasticsearch7TestStableSemconv"
"elasticsearch:elasticsearch-transport-6.0:javaagent:elasticsearch7TestExperimental"
"apache-httpclient:apache-httpclient-5.2:library:test"
"armeria:armeria-1.3:javaagent:test"
"async-http-client:async-http-client-1.9:javaagent:test"
"async-http-client:async-http-client-2.0:javaagent:test"
"apache-dubbo-2.7:javaagent:testDubbo"
"finagle-http-23.11:javaagent:test"
"finatra-2.9:javaagent:test"
)

readonly COLIMA_INSTRUMENTATIONS=(
Expand Down
2 changes: 1 addition & 1 deletion instrumentation/activej-http-6.0/metadata.yaml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
description: This instrumentation provides SERVER spans and metrics for the ActiveJ HTTP server.
description: This instrumentation enables SERVER spans and metrics for the ActiveJ HTTP server.
1 change: 1 addition & 0 deletions instrumentation/akka/akka-http-10.0/metadata.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
description: This instrumentation enables CLIENT and SERVER spans and metrics for the Akka HTTP client and server.
2 changes: 1 addition & 1 deletion instrumentation/apache-dbcp-2.0/metadata.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
description: >
This instrumentation provides database connection pools metrics for Apache DBCP.
This instrumentation enables database connection pools metrics for Apache DBCP.

The instrumentation uses `MBeanRegistration` methods for lifecycle detection, therefore it
only activates if the `BasicDataSource` is registered to an `MBeanServer`. If using Spring Boot,
Expand Down
2 changes: 1 addition & 1 deletion instrumentation/apache-httpasyncclient-4.1/metadata.yaml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
description: This instrumentation provides CLIENT spans and metrics for the Apache HttpAsyncClient.
description: This instrumentation enables CLIENT spans and metrics for the Apache HttpAsyncClient.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
description: This instrumentation provides CLIENT spans and metrics for versions 2 and 3 of the Apache HttpClient.
description: This instrumentation enables CLIENT spans and metrics for versions 2 and 3 of the Apache HttpClient.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
description: This instrumentation provides CLIENT spans and metrics for version 4 of the Apache HttpClient.
description: This instrumentation enables CLIENT spans and metrics for version 4 of the Apache HttpClient.
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,6 @@ tasks {

test {
systemProperty("collectMetadata", findProperty("collectMetadata")?.toString() ?: "false")
systemProperty("collectSpans", true)
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
description: This instrumentation enables CLIENT spans and metrics for version 5 of the Apache HttpClient.
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,10 @@ plugins {
dependencies {
library("org.apache.httpcomponents.client5:httpclient5:5.2.1")
}

tasks {
test {
systemProperty("collectMetadata", findProperty("collectMetadata")?.toString() ?: "false")
systemProperty("collectSpans", true)
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
description: This instrumentation enables CLIENT spans and metrics for the Apache HttpAsyncClient.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
description: This instrumentation provides a library integration that enables CLIENT spans and metrics for the Apache HttpClient.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ if (latestDepTest) {
tasks.withType<Test>().configureEach {
jvmArgs("-Dotel.instrumentation.apache-shenyu.experimental-span-attributes=true")

systemProperty("metaDataConfig", "otel.instrumentation.apache-shenyu.experimental-span-attributes=true")
systemProperty("collectMetadata", findProperty("collectMetadata")?.toString() ?: "false")
systemProperty("collectSpans", true)

// required on jdk17
jvmArgs("--add-opens=java.base/java.lang=ALL-UNNAMED")
jvmArgs("-XX:+IgnoreUnrecognizedVMOptions")
Expand Down
8 changes: 7 additions & 1 deletion instrumentation/apache-shenyu-2.4/metadata.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
description: >
This instrumentation does not emit telemetry on its own. Instead, it augments existing SERVER
spans and HTTP server metrics with the HTTP route and Shenyu specific attributes.
configurations:
- name: otel.instrumentation.apache-shenyu.experimental-span-attributes
description: Enables experimental span attributes for Apache Shenyu instrumentation.
description: >
Enables experimental `apache-shenyu.meta.` prefixed span attributes `app-name`,
`service-name`, `context-path`, `param-types`, `id`, `method-name`, `rpc-type`, `path` and
`rpc-ext`.
type: boolean
default: false
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,7 @@ dependencies {
tasks {
withType<Test>().configureEach {
systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean)
systemProperty("collectMetadata", findProperty("collectMetadata")?.toString() ?: "false")
systemProperty("collectSpans", true)
}
}
1 change: 1 addition & 0 deletions instrumentation/armeria/armeria-1.3/metadata.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
description: This instrumentation enables CLIENT and SERVER spans and metrics for the Armeria HTTP client and server.
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,8 @@ afterEvaluate {
add("testCompileProtoPath", platform(project(":dependencyManagement")))
}
}

tasks.test {
systemProperty("collectMetadata", findProperty("collectMetadata")?.toString() ?: "false")
systemProperty("collectSpans", true)
}
1 change: 1 addition & 0 deletions instrumentation/armeria/armeria-grpc-1.14/metadata.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
description: This instrumentation enables CLIENT and SERVER spans and metrics for the Armeria gRPC client and server.
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,8 @@ tasks {
jvmArgs("-XX:+IgnoreUnrecognizedVMOptions")

systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean)

systemProperty("collectMetadata", findProperty("collectMetadata")?.toString() ?: "false")
systemProperty("collectSpans", true)
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
description: This instrumentation enables CLIENT spans and metrics for version 1 of the AsyncHttpClient (AHC) HTTP client.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ tasks.withType<Test>().configureEach {
if (latestDepTest && testJavaVersion.isJava8) {
enabled = false
}

systemProperty("collectMetadata", findProperty("collectMetadata")?.toString() ?: "false")
systemProperty("collectSpans", true)
}

// async-http-client 2.0.0 does not work with Netty versions newer than this due to referencing an
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
description: This instrumentation enables CLIENT spans and metrics for version 2 of the AsyncHttpClient (AHC) HTTP client.
2 changes: 1 addition & 1 deletion instrumentation/camel-2.20/metadata.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
description: >
This instrumentation provides tracing for Apache Camel 2.x applications by generating spans for
This instrumentation enables tracing for Apache Camel 2.x applications by generating spans for
each route execution. For Camel versions 3.5 and newer, users should instead use the native
'camel-opentelemetry' component provided directly by the Camel project.
configurations:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
description: This instrumentation provides client spans for Elasticsearch API client requests for
description: This instrumentation enables client spans for Elasticsearch API client requests for
version 7 of the client. Versions 8.10 and later have native support for OpenTelemetry.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
description: This instrumentation provides tracing for Elasticsearch REST clients.
description: This instrumentation enables tracing for Elasticsearch REST clients.
configurations:
- name: otel.instrumentation.elasticsearch.capture-search-query
description: |
Enable the capture of search query bodies. It is important to note that Elasticsearch queries
may contain personal or sensitive information.
type: boolean
default: false
default: false
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
description: This instrumentation provides tracing for Elasticsearch REST clients.
description: This instrumentation enables tracing for Elasticsearch REST clients.
configurations:
- name: otel.instrumentation.elasticsearch.capture-search-query
description: >
Enable the capture of search query bodies. It is important to note that Elasticsearch queries
may contain personal or sensitive information.
type: boolean
default: false
default: false
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
description: This instrumentation provides tracing for Elasticsearch REST clients.
description: This instrumentation enables tracing for Elasticsearch REST clients.
configurations:
- name: otel.instrumentation.elasticsearch.capture-search-query
description: >
Enable the capture of search query bodies. It is important to note that Elasticsearch queries
may contain personal or sensitive information.
type: boolean
default: false
default: false
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
description: >
This instrumentation provides client spans for Elasticsearch transport client requests. Each call
This instrumentation enables client spans for Elasticsearch transport client requests. Each call
produces a span named after the Elasticsearch action, enriched with transport-specific attributes.
configurations:
- name: otel.instrumentation.elasticsearch.experimental-span-attributes
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
description: >
This instrumentation provides client spans for Elasticsearch transport client requests. Each call
This instrumentation enables client spans for Elasticsearch transport client requests. Each call
produces a span named after the Elasticsearch action, enriched with transport-specific attributes.
configurations:
- name: otel.instrumentation.elasticsearch.experimental-span-attributes
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
description: >
This instrumentation provides client spans for Elasticsearch transport client requests. Each call
This instrumentation enables client spans for Elasticsearch transport client requests. Each call
produces a span named after the Elasticsearch action, enriched with transport-specific attributes.
configurations:
- name: otel.instrumentation.elasticsearch.experimental-span-attributes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,8 @@ tasks {
test {
jvmArgs("-Dotel.instrumentation.http.client.emit-experimental-telemetry=true")
jvmArgs("-Dotel.instrumentation.http.server.emit-experimental-telemetry=true")
systemProperty("collectMetadata", findProperty("collectMetadata")?.toString() ?: "false")
systemProperty("collectSpans", true)
systemProperty("metaDataConfig", "otel.instrumentation.http.client.emit-experimental-telemetry=true,otel.instrumentation.http.server.emit-experimental-telemetry=true")
}
}
4 changes: 4 additions & 0 deletions instrumentation/finagle-http-23.11/metadata.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
description: >
This instrumentation for Finagle HTTP clients and servers ensures that telemetry is correctly
generated by the underlying Netty instrumentation. It augments existing telemetry by bridging the
gap between Finagle's abstractions and Netty's pipeline, primarily for context propagation.
4 changes: 3 additions & 1 deletion instrumentation/finatra-2.9/javaagent/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ tasks {
// required on jdk17
jvmArgs("--add-opens=java.base/java.lang=ALL-UNNAMED")
jvmArgs("-XX:+IgnoreUnrecognizedVMOptions")
jvmArgs("-Dotel.instrumentation.common.experimental.controller-telemetry.enabled=true")
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as far as I can tell, this configuration is not used in this instrumentation


systemProperty("collectMetadata", findProperty("collectMetadata")?.toString() ?: "false")
systemProperty("collectSpans", true)
}
}
1 change: 1 addition & 0 deletions instrumentation/finatra-2.9/metadata.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
description: This instrumentation for the Finatra web framework augments the telemetry generated by the underlying Netty instrumentation. It provides more specific, high-level context, such as route information, to the spans generated by Netty.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
description: >
This instrumentation provides messaging spans and metrics for Apache Kafka 0.11 clients.
This instrumentation enables messaging spans and metrics for Apache Kafka 0.11 clients.
It automatically traces message production and consumption, propagates context, and emits metrics for production and consumption.
configurations:
- name: otel.instrumentation.kafka.producer-propagation.enabled
Expand Down
Loading