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
When otel.instrumentation.common.view-telemetry.enabled=true
Spans
| Span kind | Attributes |
|---|---|
| INTERNAL |
When otel.instrumentation.common.view-telemetry.enabled=true,otel.instrumentation.jsp.experimental-span-attributes=true
Spans
| Span kind | Attributes |
|---|---|
| INTERNAL | jsp.classFQCN (STRING), jsp.compiler (STRING), jsp.forwardOrigin (STRING), jsp.requestURL (STRING) |
Configuration
| Option | Type | Default | Description |
|---|---|---|---|
otel.instrumentation.common.experimental.view-telemetry.enabled | boolean | false | Deprecated: use otel.instrumentation.common.view-telemetry.enabled instead. This setting is ignored under v3-preview and will be removed in 3.0. |
otel.instrumentation.common.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 (latest): /data/javaagent/instrumentations/jsp-2.3/latest.json
- JSON (pinned): /data/javaagent/instrumentations/jsp-2.3/jsp-2.3-2eb092adfba2.json
- Explore: /java-agent/instrumentation/jsp-2.3