]> mj.ucw.cz Git - home-hw.git/commitdiff
Prometheus: Experimental air temperature gauges
authorMartin Mares <mj@ucw.cz>
Thu, 4 Jul 2019 12:45:32 +0000 (14:45 +0200)
committerMartin Mares <mj@ucw.cz>
Thu, 4 Jul 2019 12:45:32 +0000 (14:45 +0200)
prometheus/burrow-prometheus.c

index d68f55fb24fa8b267a381282460723c6b54c3ea3..fe6d4bad60c3983c0a5bb03a4acb45b409577a28 100644 (file)
@@ -97,6 +97,36 @@ static const struct attr attr_table[] = {
                .type = "gauge",
                .topic = "burrow/pressure/clock"
        },
+       {
+               .metric = "air_inside_intake",
+               .help = "Temperature of air intake from inside [degC]",
+               .type = "gauge",
+               .topic = "burrow/air/inside-intake",
+       },
+       {
+               .metric = "air_inside_exhaust",
+               .help = "Temperature of air exhaust to inside [degC]",
+               .type = "gauge",
+               .topic = "burrow/air/inside-exhaust",
+       },
+       {
+               .metric = "air_outside_intake",
+               .help = "Temperature of air intake from outside [degC]",
+               .type = "gauge",
+               .topic = "burrow/air/outside-intake",
+       },
+       {
+               .metric = "air_outside_exhaust",
+               .help = "Temperature of air exhaust to outside [degC]",
+               .type = "gauge",
+               .topic = "burrow/air/outside-exhaust",
+       },
+       {
+               .metric = "air_chilled",
+               .help = "Temperature of chilled air [degC]",
+               .type = "gauge",
+               .topic = "burrow/air/chilled",
+       },
 };
 
 static char *attr_values[ARRAY_SIZE(attr_table)];