]> git.ipfire.org Git - telemetry.git/commitdiff
graphs: processor temperature: Don't start the graph at zero
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 27 Mar 2026 17:22:50 +0000 (17:22 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 27 Mar 2026 17:22:50 +0000 (17:22 +0000)
Theoretically, sub-zero temperatures are possible

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

index d749d557ced958d529631567cd6e269c221876bf..9ddc244fda8dfc836954eb3e0c15d614c9c36083 100644 (file)
@@ -95,6 +95,6 @@ const td_graph_impl processor_temperature_graph = {
        .vlabel  = td_graph_vlabel_temp,
 
        // Limits
-       .lower_limit = 0,
+       .lower_limit = -LONG_MAX,
        .upper_limit = LONG_MAX,
 };