Commit 0a7f081
committed
🐛 fix(observability): wire OpenTelemetry propagator + nest async event handlers
Axon's `OpenTelemetryAutoConfiguration` (4.13) builds `OpenTelemetrySpanFactory.builder().build()` without injecting Spring's `OpenTelemetry` bean, falling back to `GlobalOpenTelemetry` — which is no-op when using
`micrometer-tracing-bridge-otel`. Result: silent context loss across async boundaries.
- `TracingConfiguration`: explicit `tracer` + `contextPropagators` from Micrometer-managed `OpenTelemetry`
- `application.yaml`: `axon.tracing.event-processor.distributed-in-same-trace: true` so pooled processors join the originating trace within the time limit1 parent d10e0d0 commit 0a7f081
2 files changed
Lines changed: 10 additions & 0 deletions
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
15 | 19 | | |
16 | 20 | | |
| 21 | + | |
17 | 22 | | |
18 | 23 | | |
19 | 24 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
73 | 78 | | |
74 | 79 | | |
75 | 80 | | |
| |||
0 commit comments