This is an automated email from the ASF dual-hosted git repository.
martin-g pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/datafusion-ballista.git
The following commit(s) were added to refs/heads/main by this push:
new e40db9336 [TUI] Sort the metrics before rendering them (#1731)
e40db9336 is described below
commit e40db9336f58a8b39e329e3feee2b55442a0908d
Author: Martin Grigorov <[email protected]>
AuthorDate: Tue May 19 19:55:35 2026 +0300
[TUI] Sort the metrics before rendering them (#1731)
---
ballista-cli/src/tui/domain/metrics.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ballista-cli/src/tui/domain/metrics.rs
b/ballista-cli/src/tui/domain/metrics.rs
index 4f9fdf971..07fadb952 100644
--- a/ballista-cli/src/tui/domain/metrics.rs
+++ b/ballista-cli/src/tui/domain/metrics.rs
@@ -149,7 +149,7 @@ impl FromStr for MetricsResponse {
};
metrics.push(metric);
}
- // metrics.sort_by(|a, b| a.sample.metric.cmp(&b.sample.metric));
+ metrics.sort_by(|a, b| a.sample.metric.cmp(&b.sample.metric));
Ok(MetricsResponse { metrics })
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]