This documentation has an index for AI agents at /llms.txt. A Markdown version of this page is available at https://explorer.opentelemetry.io/java-agent/instrumentation/jsp-2.3.md.

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 kindAttributes
INTERNAL

When otel.instrumentation.common.view-telemetry.enabled=true,otel.instrumentation.jsp.experimental-span-attributes=true

Spans

Span kindAttributes
INTERNALjsp.classFQCN (STRING), jsp.compiler (STRING), jsp.forwardOrigin (STRING), jsp.requestURL (STRING)

Configuration

OptionTypeDefaultDescription
otel.instrumentation.common.experimental.view-telemetry.enabledbooleanfalseDeprecated: 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.enabledbooleanfalseEnables the creation of experimental view spans.
otel.instrumentation.jsp.experimental-span-attributesbooleanfalseEnables 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