From 98bf0b13ab5ed9f97079d9ebf92d4558cccb4a52 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Thu, 4 Jul 2019 14:45:32 +0200 Subject: [PATCH] Prometheus: Experimental air temperature gauges --- prometheus/burrow-prometheus.c | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/prometheus/burrow-prometheus.c b/prometheus/burrow-prometheus.c index d68f55f..fe6d4ba 100644 --- a/prometheus/burrow-prometheus.c +++ b/prometheus/burrow-prometheus.c @@ -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)]; -- 2.39.5