davsclaus commented on code in PR #24318:
URL: https://github.com/apache/camel/pull/24318#discussion_r3493730439
##########
dsl/camel-jbang/camel-jbang-plugin-tui/src/main/java/org/apache/camel/dsl/jbang/core/commands/tui/EndpointsTab.java:
##########
@@ -51,7 +51,7 @@
class EndpointsTab implements MonitorTab {
private static final String[] SORT_COLUMNS = { "component", "route",
"dir", "total", "body", "hdr", "uri" };
- private static final int MAX_CHART_POINTS = 60;
+ private static final int MAX_CHART_POINTS = 300;
Review Comment:
`CircuitBreakerTab` also has `MAX_CHART_POINTS = 60` and a hardcoded
`renderPoints = MAX_CHART_POINTS` (line 355) — same pattern this PR fixes here.
The MetricsCollector buffer is already bumped (CB history uses
`MAX_ENDPOINT_CHART_POINTS` via `recordEndpointSample`), so only the render
side needs the same `Math.min(MAX, Math.max(2, width - 6))` treatment. Could be
a follow-up.
--
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]