Apache Struts
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-2.3 - Scope:
io.opentelemetry.struts-2.3 - Target versions:
org.apache.struts:struts2-core:[2.1.0,7) - 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. |