]> git.ipfire.org Git - telemetry.git/commitdiff
graphs: processor: Don't zoom out
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 4 Dec 2025 17:00:52 +0000 (17:00 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 4 Dec 2025 17:00:52 +0000 (17:00 +0000)
This changes that the graph will always scale up to 100%, but we will
see more detail.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/daemon/graphs/processor.c

index adc599a2a659805a3f75fa1ca1acfebe03c4f81a..7546b7b6baa40a5965b5b2808251559c8a251700 100644 (file)
@@ -18,6 +18,8 @@
 #                                                                             #
 #############################################################################*/
 
+#include <limits.h>
+
 #include "../string.h"
 #include "graph.h"
 #include "processor.h"
@@ -130,5 +132,5 @@ const td_graph_impl processor_graph = {
 
        // Limits
        .lower_limit = 0,
-       .upper_limit = 100,
+       .upper_limit = LONG_MAX,
 };