From 548d62f3460bfd0cb300b2b8ce9128fc76d0ca64 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Thu, 16 Aug 2018 22:22:47 +0200 Subject: [PATCH] Prometheus: Circulation and fan --- prometheus/burrow-prometheus.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/prometheus/burrow-prometheus.c b/prometheus/burrow-prometheus.c index 188af45..579d530 100644 --- a/prometheus/burrow-prometheus.c +++ b/prometheus/burrow-prometheus.c @@ -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)]; -- 2.39.2