You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add optional traceId/spanId fields to BuildReport for OTel correlation #13567
The OpenTelemetry Maven extension
(v1.60.0-alpha) captures per-mojo spans as an EventSpy. Maven's BuildReport
captures overlapping data (per-mojo timing, module execution, downloads). The two
aren't competing — OTel is for distributed tracing backends (Jaeger, Grafana Tempo),
while build-report.json is for local consumption.
Proposal
Add optional fields to MojoReport and ModuleReport:
These are populated only when the OTel extension (or any other tracing extension)
sets them via a well-defined mechanism (e.g., MDC keys otel.trace_id and otel.span_id, or a dedicated API).
This lets tools correlate the local JSON report entry with a specific span in a
distributed trace — useful for CI observability dashboards.
Priority
Nice-to-have. Low effort, high interoperability value.
Activity