davsclaus opened a new pull request, #23335:
URL: https://github.com/apache/camel/pull/23335
## Summary
- Add circuit breaker state machine diagram to TUI showing
CLOSED/OPEN/HALF_OPEN transitions with allowed/rejected/probe terminology
- Add live circuit breaker chart with failure rate bar, throughput sparkline
(success/fail), and metrics panel showing
total/fail/inflight/reject/mean/min/max and since-last success/fail
- Add INFLIGHT column to circuit breaker table, route processor panel, and
consumer tab (shows 0 when idle)
- Add SINCE-LAST column to circuit breaker table
- Rename PENDING to WINDOW in circuit breaker table
- Fix badge indices for HTTP and circuit breaker tabs
- Right-align ELAPSED and STEPS columns in trace tables
- Unescape JSON values in inspect tab to avoid rendering garbage characters
- Mark synthetic backlog tracer events as done immediately so elapsed
doesn't keep growing
## Test plan
- [x] Build succeeds with `mvn install -DskipTests -q -pl
dsl/camel-jbang/camel-jbang-plugin-tui`
- [ ] Run TUI monitor against a Camel integration with circuit breakers and
verify:
- Circuit breaker table shows WINDOW, INFLIGHT, SUCCESS, FAIL, RATE%,
REJECT, SINCE-LAST columns
- State diagram displays correctly with allowed/rejected/probe labels
- Live chart shows failure rate bar and throughput sparkline
- Metrics panel shows inflight counter and since-last durations
- [ ] Verify processor panel on route tab shows INFLIGHT column with 0 values
- [ ] Verify consumer tab shows 0 for inflight when idle
- [ ] Verify trace tab ELAPSED and STEPS columns are right-aligned
- [ ] Verify inspect tab shows unescaped JSON values
_Claude Code on behalf of Claus Ibsen_
🤖 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]