davsclaus opened a new pull request, #23819: URL: https://github.com/apache/camel/pull/23819
## Summary - Adds a new **OTel Spans** tab to the TUI dashboard under the More popup menu (shortcut `O`) - **Trace list view**: groups spans by traceId showing trace ID, span count, root name, status, duration, and depth - **Waterfall drill-down**: Jaeger-style tree with parent-child nesting, proportional `█` duration bars offset by start time, color-coded by duration - Detail panel shows selected span attributes, kind, status, and parent relationship - Data fetched via action file IPC from the `opentelemetry` dev console (requires `--observe` flag) ## New Files - `SpanEntry.java` — Record holding parsed OTel span data with `fromJson()`, `isRoot()`, `isError()` - `SpansTab.java` — `MonitorTab` implementation with trace list and waterfall views ## Key Bindings - `Enter` — drill into trace waterfall - `Escape` — back to trace list - `↑↓` — navigate traces/spans - `r` — refresh span data ## Test Plan - [ ] Run `camel run timer-log.yaml --observe` - [ ] Open `camel tui`, press `0` (More), then `O` (OTel Spans) - [ ] Verify trace list shows grouped traces with status and duration - [ ] Press Enter to drill into a trace — verify waterfall with nested spans and duration bars - [ ] Press Escape to return to list - [ ] Verify error spans show in red 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
