Spring Cloud Gateway Server WebMVC
OpenTelemetry Java agent instrumentation
This instrumentation enhances tracing for Spring Cloud Gateway Server WebMVC. It does not generate any telemetry on its own, but rather enriches existing traces produced by other instrumentations like Spring WebMVC with Spring Cloud Gateway-specific attributes.
- Name:
spring-cloud-gateway-webmvc-4.3 - Scope:
io.opentelemetry.spring-cloud-gateway-webmvc-4.3 - Target versions:
org.springframework.cloud:spring-cloud-starter-gateway-server-webmvc:[4.3.0,) - Library: https://github.com/spring-cloud/spring-cloud-gateway
Configuration
| Option | Type | Default | Description |
|---|---|---|---|
otel.instrumentation.spring-cloud-gateway.experimental-span-attributes | boolean | false | Enables experimental spring-cloud-gateway.route attributes (e.g., spring-cloud-gateway.route.id, spring-cloud-gateway.route.uri, etc.) on spans. |