Commit Graph

476 Commits

Author SHA1 Message Date
David Newhall II 9beea28951 Apply suggestions from code review 2019-12-01 17:25:49 -08:00
David Newhall II 9f40055d97 Apply suggestions from code review 2019-12-01 17:24:35 -08:00
David Newhall II 5b2163520e Merge branch 'master' into superq/metric_names 2019-12-01 17:18:41 -08:00
davidnewhall2 a0f89f88be a couple others missing 2019-12-01 14:39:18 -08:00
davidnewhall2 071fd29f1e add a few missing metrics 2019-12-01 14:03:27 -08:00
Ben Kochie d2d2dd02be 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 463b71349f 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 0efb7822f0 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 3cd9018d8e more fixes 2019-12-01 03:26:13 -08:00
davidnewhall2 24f423175e fixes 2019-12-01 00:43:57 -08:00
davidnewhall2 1935fc6195 test fix 2019-11-30 19:30:21 -08:00
davidnewhall2 2fc596645e more reusable code 2019-11-30 18:18:49 -08:00
davidnewhall2 ffa38fe707 Improve influx library 2019-11-30 16:45:22 -08:00
davidnewhall2 cdb02873dd allow more data reduction 2019-11-30 03:42:17 -08:00
davidnewhall2 74e706872d remove a bunch of unused things from influx code 2019-11-30 02:47:11 -08:00
davidnewhall2 964eed16b6 Add port ID to switch ports. 2019-11-30 02:15:06 -08:00
davidnewhall2 2b30cb992f jeeez, fix the build already 2019-11-30 02:05:56 -08:00
davidnewhall2 63e3242220 add back comment 2019-11-30 01:58:38 -08:00
davidnewhall2 0357747294 fix build 2019-11-30 01:57:50 -08:00
davidnewhall2 e2f57228e1 update readme 2019-11-30 01:47:06 -08:00
davidnewhall2 166585bfd5 move pkgs, update readme, add two more metrics to influx client 2019-11-30 01:45:42 -08:00
davidnewhall2 420bab0535 one more.. 2019-11-29 23:36:26 -08:00
davidnewhall2 8090b833e3 add two more metrics to clients 2019-11-29 23:17:26 -08:00
davidnewhall2 61f2796aa9 update deps 2019-11-29 23:03:17 -08:00
davidnewhall2 213d37851c still cleaning 2019-11-29 22:58:48 -08:00
davidnewhall2 989f874f15 still cleaning 2019-11-29 22:56:56 -08:00
davidnewhall2 3742871620 tighter for loops 2019-11-29 22:35:42 -08:00
davidnewhall2 62ad7f7296 more cleanup 2019-11-29 21:16:49 -08:00
davidnewhall2 76b8ab299d Add more to the interface 2019-11-29 20:30:51 -08:00
davidnewhall2 dc1e590afe use fewer tags 2019-11-29 14:43:23 -08:00
davidnewhall2 daaa047eba fix comments 2019-11-29 13:55:59 -08:00
davidnewhall2 e53682752d remove all 2019-11-29 13:37:10 -08:00
davidnewhall2 d880c3150f add radio label to vaps 2019-11-29 04:14:46 -08:00
davidnewhall2 ffac10c5bb use the same labels on all client metrics - derp 2019-11-29 03:33:24 -08:00
davidnewhall2 296d3d4867 use the same labels on all client metrics 2019-11-29 03:30:19 -08:00
davidnewhall2 1936fc147a fix labels on UAP 2019-11-29 02:47:20 -08:00
davidnewhall2 28da48a88f fix up client labels 2019-11-29 00:44:33 -08:00
davidnewhall2 265f9ef477 bug fix 2019-11-28 21:08:53 -08:00
davidnewhall2 bf23a5ab4a add an interface for testing 2019-11-28 20:43:06 -08:00
davidnewhall2 fe54b93e47 cleanup 2019-11-28 20:17:37 -08:00
davidnewhall2 a9b99eab29 unify variable names 2019-11-28 16:09:21 -08:00
davidnewhall2 722504c58a add UDM support 2019-11-28 16:02:13 -08:00
davidnewhall2 9d2ec7e760 cosolidate code 2019-11-28 04:14:05 -08:00
davidnewhall2 f5337ffa72 re-arrange a file pieces. 2019-11-28 03:54:53 -08:00
davidnewhall2 035cdf10f0 small qol update 2019-11-28 03:34:29 -08:00
davidnewhall2 5b7c9b7abb fix a few more unit locations 2019-11-28 03:08:13 -08:00
David Newhall II 6e47a0baaa Apply suggestions from code review
Co-Authored-By: Ben Kochie <superq@gmail.com>
2019-11-28 02:57:34 -08:00
davidnewhall2 4737145a57 fixes 2019-11-28 02:45:59 -08:00
David Newhall II 2c91163482 Update promunifi/clients.go
Co-Authored-By: Ben Kochie <superq@gmail.com>
2019-11-28 02:41:27 -08:00
davidnewhall2 c84f18246c convert speeds to bps 2019-11-28 02:40:29 -08:00