Apache Struts 2
OpenTelemetry Java agent instrumentation
This instrumentation enriches HTTP server spans with route information, and enables controller spans for Apache Struts 2 actions (controller spans are disabled by default).
- Name:
struts-7.0 - Scope:
io.opentelemetry.struts-7.0 - Target versions:
org.apache.struts:struts2-core:[7.0.0,) - Library: https://struts.apache.org/
Telemetry
- Span attributes:
code.function,code.namespace
Configuration
| Option | Type | Default | Description |
|---|---|---|---|
otel.instrumentation.common.experimental.controller-telemetry.enabled | boolean | false | Enables the creation of experimental controller spans. |