aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Othacehe <othacehe@gnu.org>2020-09-17 16:10:07 +0200
committerMathieu Othacehe <othacehe@gnu.org>2020-09-17 16:10:07 +0200
commit9a60cd6619df1bf1781dc47fbcc05c14994473fb (patch)
tree42c9d378f331c6a122d7eec099a8bae0981fd96a
parent8d6c0dfb7eac37888024ea47e55a8f0ede50cde0 (diff)
downloadcuirass-9a60cd6619df1bf1781dc47fbcc05c14994473fb.tar
cuirass-9a60cd6619df1bf1781dc47fbcc05c14994473fb.tar.gz
metrics: Order evaluation metrics by ascending evaluation id.
* src/cuirass/http.scm (metrics-page): Order 'average-eval-build-start-time and 'evaluation-completion-speed metrics per ascending evaluation id.
-rw-r--r--src/cuirass/http.scm6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/cuirass/http.scm b/src/cuirass/http.scm
index a58fef3..6b13138 100644
--- a/src/cuirass/http.scm
+++ b/src/cuirass/http.scm
@@ -249,13 +249,15 @@ Hydra format."
'average-eval-duration-per-spec))
#:avg-eval-build-start-time
(db-get-metrics-with-id 'average-eval-build-start-time
- #:limit 100)
+ #:limit 100
+ #:order "field ASC")
#:builds-per-day
(db-get-metrics-with-id 'builds-per-day
#:limit 100)
#:eval-completion-speed
(db-get-metrics-with-id 'evaluation-completion-speed
- #:limit 100)
+ #:limit 100
+ #:order "field ASC")
#:new-derivations-per-day
(db-get-metrics-with-id 'new-derivations-per-day
#:limit 100)