Spring Web
OpenTelemetry Java agent instrumentation
This instrumentation enriches HTTP client spans with URL template information for Spring's RestTemplate 6.0+.
- Name:
spring-web-6.0 - Scope:
io.opentelemetry.spring-web-6.0 - Target versions:
org.springframework:spring-web:[6.0.0,) - Library: https://github.com/spring-projects/spring-framework
Configuration
| Option | Type | Default | Description |
|---|---|---|---|
java.common.http.client.url_template_rules | list | Rules for deriving low-cardinality URL templates (routes) from HTTP client request URLs. Only applied when experimental HTTP client telemetry is enabled. | |
otel.instrumentation.http.client.emit-experimental-telemetry | boolean | false | Enables the capture of experimental HTTP client telemetry, including URL template as the span name. |