davsclaus opened a new pull request, #25312:
URL: https://github.com/apache/camel/pull/25312
## Summary
- Add snapshot command to the JFR dev console that captures a point-in-time
JFR recording and aggregates Camel runtime events into per-route,
per-processor, and per-endpoint duration statistics, plus recent failures and
redeliveries
- Show the snapshot data in the TUI JFR tab with five navigable views
(Routes, Processors, Endpoints, Failures, Redeliveries), route drill-down, and
age display
- Expose JFR tab data via `getTableDataAsJson()` so AI agents (MCP) see the
same data users see
- Move JFR tab from JVM to Observability group in the More menu
- Document the snapshot command in `jfr.adoc` and TUI JFR profiling in
`camel-jbang-tui.adoc`
## Test plan
- [x] Unit tests for snapshot aggregation logic (`CamelJfrDevConsoleTest`)
- [x] Render tests for all five JFR tab views (`JfrTabRenderTest`)
- [ ] Manual: run `camel run --jfr` with a route, open TUI, press F5 to take
snapshot, verify data in all views
- [ ] Manual: verify route drill-down (Enter on a route) and back (Esc)
- [ ] Manual: verify age display updates ("Xs ago", "Xm ago")
_Claude Code on behalf of davsclaus_
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.6 <[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]