]> mj.ucw.cz Git - home-hw.git/commitdiff
Prometheus: air_fan_pwm
authorMartin Mares <mj@ucw.cz>
Tue, 9 Jul 2019 19:19:57 +0000 (21:19 +0200)
committerMartin Mares <mj@ucw.cz>
Tue, 9 Jul 2019 19:19:57 +0000 (21:19 +0200)
prometheus/burrow-prometheus.c

index 51de6ba7786691f3500e200a85081626e1604aef..6968bb92aadcaf94b41d52e5d1120550b55f0424 100644 (file)
@@ -133,6 +133,12 @@ static const struct attr attr_table[] = {
                .type = "gauge",
                .topic = "burrow/air/bypass"
        },
+       {
+               .metric = "air_fan_pwm",
+               .help = "Heat exchanger fan PWM (0-255)",
+               .type = "gauge",
+               .topic = "burrow/air/fan-pwm"
+       },
 };
 
 static char *attr_values[ARRAY_SIZE(attr_table)];