davsclaus commented on code in PR #29493:
URL: https://github.com/apache/camel/pull/29493#discussion_r4514989689
##########
dsl/camel-jbang/camel-jbang-plugin-tui/src/main/java/org/apache/camel/dsl/jbang/core/commands/tui/ProducersTab.java:
##########
@@ -183,6 +250,19 @@ public JsonObject getTableDataAsJson() {
if (pi.stepId != null) {
row.put("stepId", pi.stepId);
}
+ Stats st = stats(info, pi);
+ if (st != null) {
+ row.put("total", st.total());
+ row.put("failed", st.failed());
+ ProcessorInfo b = st.busiest();
+ if (b.p50Time >= 0) {
+ row.put("p50Time", b.p50Time);
+ row.put("p95Time", b.p95Time);
+ row.put("p99Time", b.p99Time);
+ } else {
+ row.put("meanTime", b.meanTime);
Review Comment:
Good catch. Fixed in 06febb5880e4: the table data now has `minTime` and
`maxTime` next to `meanTime` when there are no percentiles, matching what the
panel shows.
_Claude Code on behalf of davsclaus_
--
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]