davsclaus opened a new pull request, #29493: URL: https://github.com/apache/camel/pull/29493
_Claude Code on behalf of davsclaus_ Three improvements from walking the screens. - **Producers says what was sent.** The tab had no numbers, because the producers console only gives the endpoint and its state. Each producer now has TOTAL, FAIL and P50/P95/P99 (MIN/MAX/MEAN without percentiles), taken from the steps of its route that send to its endpoint (`to`, `wireTap`, `enrich`). Several steps sending to the same endpoint add up, and the timings come from the busiest of them. The numbers stay blank when no step sends to that URI, such as a `toD` whose endpoint is computed per message. `tui_get_table` has them too. - **The strips of About ▸ What happened fill the width.** A column takes a whole number of seconds, and the notes after a strip used to get a fixed 50 columns, though they take about 5–25. The notes are now measured, with up to 30 columns for the cause of a recovery, and the strips may have up to 300 columns. A 200-wide screen now gets 150 columns of 2 s instead of 100 of 3 s. - **Watch calms down once the errors stopped.** It now says when the last error happened (`✗ 13 errors: … · the last 14s ago`). When the errors stopped more than 5 minutes ago, it reads `no errors in the last 5m · 13 errors before: … · the last 1h40m ago`, dimmed, with no red ✗. Before, an outage from an hour ago looked like one happening now. To know this without loading the error list, camel-cli-connector now adds `lastTimestamp` (when the newest error happened) to the error summary in the status file, next to `total` and `kinds` from #29429. The TUI falls back to the errors the Errors tab loaded when an older integration does not write it. The help pages are updated: Producers, which also corrects REMOTE (the tab shows `x`, not Yes/No), and the Overview's Watch line. Tests: `ProducersTabStatsTest`, plus new cases in `AboutViewTest` (strips at 200 wide, Watch recent and calm) and `ErrorCountsTest`. The full `camel-jbang-plugin-tui` (2420) and `camel-cli-connector` (106) suites pass. The one connector flake is the JFR test race that #29484 fixes. I checked it live with the `fail-well/circuit-breaker` example: Producers shows 19 sends with 3 failed, the strips use 150 columns, and Watch says "the last 14s ago". This merges cleanly with #29468 and #29486. 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- 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]
