diff --git a/app/main.py b/app/main.py index 342141f..b3ebe88 100644 --- a/app/main.py +++ b/app/main.py @@ -15,8 +15,8 @@ REGISTRY.unregister(PROCESS_COLLECTOR) def setup_gauge(): g = Gauge(f'sys_cpu_temp_celsius_degrees', 'CPU Temperature', ['node_name']) - g.set_function(_get_temp) g.labels(_get_node_name()) + g.set_function(_get_temp) def _get_temp():