# JSP (JavaServer Pages)

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

> OpenTelemetry Java agent instrumentation

This instrumentation enables view spans for JSP page rendering and compilation (view spans are disabled by default).

- **Name**: `jsp-2.3`
- **Scope**: `io.opentelemetry.jsp-2.3`
- **Target versions**: `org.apache.tomcat:tomcat-jasper:[7.0.19,10)`
- **Library**: https://jakarta.ee/specifications/pages/

## Telemetry

- **Span attributes**: `jsp.classFQCN`, `jsp.compiler`, `jsp.forwardOrigin`, `jsp.requestURL`

## Configuration

| Option | Type | Default | Description |
| --- | --- | --- | --- |
| `otel.instrumentation.common.experimental.view-telemetry.enabled` | boolean | false | Enables the creation of experimental view spans. |
| `otel.instrumentation.jsp.experimental-span-attributes` | boolean | false | Enables experimental span attributes `jsp.forwardOrigin`, `jsp.requestURL`, `jsp.compiler`, and `jsp.classFQCN`. |

## Data

- **JSON**: [/data/javaagent/instrumentations/jsp-2.3/jsp-2.3-4b31a1b1c1e4.json](/data/javaagent/instrumentations/jsp-2.3/jsp-2.3-4b31a1b1c1e4.json)
- **Explore**: [/java-agent/instrumentation/jsp-2.3](/java-agent/instrumentation/jsp-2.3)
