Commit Graph

487 Commits

Author SHA1 Message Date
Ben Kochie 3085f73cce Use explicit label items rather than a cut of the slice.
Signed-off-by: Ben Kochie <superq@gmail.com>
2019-12-02 23:31:49 +01:00
Ben Kochie 4bdec1552f 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 ba8e619c9c fix env variable usage 2019-12-02 13:11:35 -08:00
davidnewhall2 d405e32935 readme update 2019-12-02 00:14:43 -08:00
davidnewhall2 d1fcd065f9 add a small readme 2019-12-01 22:33:37 -08:00
davidnewhall2 2e7cf48863 dpkg --force-confdef --force-confold --install 2019-12-01 22:31:57 -08:00
davidnewhall2 e33760de49 doc updates 2019-12-01 22:19:57 -08:00
davidnewhall2 9e31deba60 update example 2019-12-01 19:29:40 -08:00
davidnewhall2 604294780d reference new dashes 2019-12-01 19:28:44 -08:00
davidnewhall2 c181e62514 a couple more fixes 2019-12-01 19:04:17 -08:00
davidnewhall2 648febd3dc fix more ratios, combine export loops 2019-12-01 17:42:13 -08:00
David Newhall II 4970c3eda2 Apply suggestions from code review 2019-12-01 17:25:49 -08:00
David Newhall II 9c3cb425c8 Apply suggestions from code review 2019-12-01 17:24:35 -08:00
David Newhall II ebfce744e2 Merge branch 'master' into superq/metric_names 2019-12-01 17:18:41 -08:00
davidnewhall2 cfa71ba716 a couple others missing 2019-12-01 14:39:18 -08:00
davidnewhall2 138766c0a3 add a few missing metrics 2019-12-01 14:03:27 -08:00
Ben Kochie a9b417f178 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 a6edfb3a3a 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 d6044f3992 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 4ff9a7f8dc more fixes 2019-12-01 03:26:13 -08:00
davidnewhall2 677bc99455 fixes 2019-12-01 00:43:57 -08:00
davidnewhall2 76266785e7 test fix 2019-11-30 19:30:21 -08:00
davidnewhall2 a18cbf5158 more reusable code 2019-11-30 18:18:49 -08:00
davidnewhall2 79dae73923 Improve influx library 2019-11-30 16:45:22 -08:00
davidnewhall2 e3b38944a7 allow more data reduction 2019-11-30 03:42:17 -08:00
davidnewhall2 7fc942a567 remove a bunch of unused things from influx code 2019-11-30 02:47:11 -08:00
davidnewhall2 4eaee443ae Add port ID to switch ports. 2019-11-30 02:15:06 -08:00
davidnewhall2 59b45ab763 jeeez, fix the build already 2019-11-30 02:05:56 -08:00
davidnewhall2 a32977127d add back comment 2019-11-30 01:58:38 -08:00
davidnewhall2 f8f3f94154 fix build 2019-11-30 01:57:50 -08:00
davidnewhall2 cb518fe21d update readme 2019-11-30 01:47:06 -08:00
davidnewhall2 2579aa6a0a move pkgs, update readme, add two more metrics to influx client 2019-11-30 01:45:42 -08:00
davidnewhall2 a83bae4a20 one more.. 2019-11-29 23:36:26 -08:00
davidnewhall2 66e3816687 add two more metrics to clients 2019-11-29 23:17:26 -08:00
davidnewhall2 421566c23a update deps 2019-11-29 23:03:17 -08:00
davidnewhall2 ab4bb56ce8 still cleaning 2019-11-29 22:58:48 -08:00
davidnewhall2 6fa40ff21c still cleaning 2019-11-29 22:56:56 -08:00
davidnewhall2 c5e0df8904 tighter for loops 2019-11-29 22:35:42 -08:00
davidnewhall2 937707539c more cleanup 2019-11-29 21:16:49 -08:00
davidnewhall2 3c471abdbe Add more to the interface 2019-11-29 20:30:51 -08:00
davidnewhall2 08d393d803 use fewer tags 2019-11-29 14:43:23 -08:00
davidnewhall2 df25640304 fix comments 2019-11-29 13:55:59 -08:00
davidnewhall2 a03fea0e15 remove all 2019-11-29 13:37:10 -08:00
davidnewhall2 b46a7690a7 add radio label to vaps 2019-11-29 04:14:46 -08:00
davidnewhall2 2086c44ab6 use the same labels on all client metrics - derp 2019-11-29 03:33:24 -08:00
davidnewhall2 d3b3d55cd1 use the same labels on all client metrics 2019-11-29 03:30:19 -08:00
davidnewhall2 e0880f1a20 fix labels on UAP 2019-11-29 02:47:20 -08:00
davidnewhall2 4c74d2fae7 fix up client labels 2019-11-29 00:44:33 -08:00
davidnewhall2 94037f0e19 bug fix 2019-11-28 21:08:53 -08:00
davidnewhall2 9599bdbbe2 add an interface for testing 2019-11-28 20:43:06 -08:00