]> mj.ucw.cz Git - home-hw.git/commitdiff
Prometheus: Circulation and fan
authorMartin Mares <mj@ucw.cz>
Thu, 16 Aug 2018 20:22:47 +0000 (22:22 +0200)
committerMartin Mares <mj@ucw.cz>
Thu, 16 Aug 2018 20:22:47 +0000 (22:22 +0200)
prometheus/burrow-prometheus.c

index 188af4525915dc0e1e48eaeac24e312fb6cc240c..579d5307161df47265b8fc310f93ad6705e01396 100644 (file)
@@ -97,6 +97,18 @@ static const struct attr attr_table[] = {
                .type = "gauge",
                .topic = "burrow/pressure/clock"
        },
+       {
+               .metric = "loft_fan",
+               .help = "Fan velocity in the loft (0-3)",
+               .type = "gauge",
+               .topic = "burrow/loft/fan"
+       },
+       {
+               .metric = "loft_circulation",
+               .help = "Circulation pump in the loft (0-1)",
+               .type = "gauge",
+               .topic = "burrow/loft/circulation"
+       },
 };
 
 static char *attr_values[ARRAY_SIZE(attr_table)];