# Spring Cloud Gateway Server WebMVC

<!-- llms-txt-link: /llms.txt -->

> 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. |

## Data

- **JSON**: [/data/javaagent/instrumentations/spring-cloud-gateway-webmvc-4.3/spring-cloud-gateway-webmvc-4.3-b55e2e307e9a.json](/data/javaagent/instrumentations/spring-cloud-gateway-webmvc-4.3/spring-cloud-gateway-webmvc-4.3-b55e2e307e9a.json)
- **Explore**: [/java-agent/instrumentation/spring-cloud-gateway-webmvc-4.3](/java-agent/instrumentation/spring-cloud-gateway-webmvc-4.3)
