]> mj.ucw.cz Git - home-hw.git/commitdiff
Prometheus: Bypass
authorMartin Mares <mj@ucw.cz>
Sat, 6 Jul 2019 22:37:44 +0000 (00:37 +0200)
committerMartin Mares <mj@ucw.cz>
Sat, 6 Jul 2019 22:37:44 +0000 (00:37 +0200)
prometheus/burrow-prometheus.c

index fe6d4bad60c3983c0a5bb03a4acb45b409577a28..51de6ba7786691f3500e200a85081626e1604aef 100644 (file)
@@ -127,6 +127,12 @@ static const struct attr attr_table[] = {
                .type = "gauge",
                .topic = "burrow/air/chilled",
        },
+       {
+               .metric = "air_bypass",
+               .help = "Heat exchanger bypass (0-1)",
+               .type = "gauge",
+               .topic = "burrow/air/bypass"
+       },
 };
 
 static char *attr_values[ARRAY_SIZE(attr_table)];