Commit Graph

8 Commits

Author SHA1 Message Date
Ben Kochie 21de375c80
Cleanup duplicate station metrics
Combine "user" and "guest" station metrics into a single labeled metric
to avoid duplicate storage of the same data.

Signed-off-by: Ben Kochie <superq@gmail.com>
2019-12-02 22:41:43 +01:00
davidnewhall2 2212692d88 a couple more fixes 2019-12-01 19:04:17 -08:00
davidnewhall2 fa64b364c9 fix more ratios, combine export loops 2019-12-01 17:42:13 -08:00
David Newhall II 356ce45eb6
Apply suggestions from code review 2019-12-01 17:24:35 -08:00
Ben Kochie 1df763e684
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 3b515b854e
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 1294cd8ccf
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 ebe05ec3e5 move pkgs, update readme, add two more metrics to influx client 2019-11-30 01:45:42 -08:00