JSP (JavaServer Pages)
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. |