Ben Kochie
f34f3e63a5
Move excess device labels to info metric
...
Move some of the excess device inventory labels to an "info" metric.
This reduces query output noise and indexing overhead.
These labels can still be used for filtering with a `group_left` query.
Signed-off-by: Ben Kochie <superq@gmail.com>
2019-12-02 22:43:35 +01:00
davidnewhall2
3760442b45
a couple more fixes
2019-12-01 19:04:17 -08:00
davidnewhall2
5f0c383593
fix more ratios, combine export loops
2019-12-01 17:42:13 -08:00
David Newhall II
4bd337eaf7
Apply suggestions from code review
2019-12-01 17:24:35 -08:00
Ben Kochie
b871afd5f3
Convert Prometheus percents to ratio
...
Typically we like to use ratio in Prometheus rather than percent as it
is easier to do math with.
Signed-off-by: Ben Kochie <superq@gmail.com>
2019-12-01 19:48:59 +01:00
Ben Kochie
866c44feac
Fix radio_transmit metric type
...
The metrics radio_transmit_{packets,retries} appear to gauges, not
counters.
Signed-off-by: Ben Kochie <superq@gmail.com>
2019-12-01 19:28:53 +01:00
Ben Kochie
757a3040a1
Update channel utilization metrics
...
* Unit is percent.
* Drop "total" as it is the sum of transmit and receive.
Signed-off-by: Ben Kochie <superq@gmail.com>
2019-12-01 18:29:58 +01:00
davidnewhall2
5ee92da2be
move pkgs, update readme, add two more metrics to influx client
2019-11-30 01:45:42 -08:00