Commit Graph

695 Commits

Author SHA1 Message Date
David Newhall II 341e21efd2
Merge branch 'master' into superq/metric_names 2019-12-01 17:18:41 -08:00
David Newhall II 00794f8561
Merge pull request #142 from davidnewhall/dn2_moremoremore
Giving Influx some love on this one.
2019-12-01 16:48:55 -08:00
davidnewhall2 f4e55340fc a couple others missing 2019-12-01 14:39:18 -08:00
davidnewhall2 32c1107269 add a few missing metrics 2019-12-01 14:03:27 -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 dc9abc8ca8 more fixes 2019-12-01 03:26:13 -08:00
davidnewhall2 9eeeaebabd fixes 2019-12-01 00:43:57 -08:00
davidnewhall2 ec3bae40be test fix 2019-11-30 19:30:21 -08:00
davidnewhall2 36e88dcaf4 more reusable code 2019-11-30 18:18:49 -08:00
davidnewhall2 50c1a635c6 Improve influx library 2019-11-30 16:45:22 -08:00
davidnewhall2 cef7815e2d allow more data reduction 2019-11-30 03:42:17 -08:00
davidnewhall2 f9a4963b23 remove a bunch of unused things from influx code 2019-11-30 02:47:11 -08:00
davidnewhall2 25e5f1c4b6 Add port ID to switch ports. 2019-11-30 02:15:06 -08:00
davidnewhall2 1618ab3049 jeeez, fix the build already 2019-11-30 02:05:56 -08:00
David Newhall II 00c732e7ee
Merge pull request #141 from davidnewhall/dn2_stuff
Stuff
2019-11-30 01:59:54 -08:00
davidnewhall2 5866cafcc3 add back comment 2019-11-30 01:58:38 -08:00
davidnewhall2 7767fbd677 fix build 2019-11-30 01:57:50 -08:00
davidnewhall2 0d44df85ec update readme 2019-11-30 01:47:06 -08:00
davidnewhall2 ebe05ec3e5 move pkgs, update readme, add two more metrics to influx client 2019-11-30 01:45:42 -08:00
David Newhall II d052e699db
Merge pull request #139 from davidnewhall/dn2_prometheus
Add prometheus exporter.
2019-11-30 00:11:34 -08:00
davidnewhall2 666ecb0f7d one more.. 2019-11-29 23:36:26 -08:00
davidnewhall2 616365fa8e add two more metrics to clients 2019-11-29 23:17:26 -08:00
davidnewhall2 adb136351a update deps 2019-11-29 23:03:17 -08:00
davidnewhall2 883a5a7beb still cleaning 2019-11-29 22:58:48 -08:00
davidnewhall2 29c59e71b9 still cleaning 2019-11-29 22:56:56 -08:00
davidnewhall2 1d93777a0d tighter for loops 2019-11-29 22:35:42 -08:00
davidnewhall2 a58c1210d0 more cleanup 2019-11-29 21:16:49 -08:00
davidnewhall2 a9a7862438 Add more to the interface 2019-11-29 20:30:51 -08:00
davidnewhall2 23f4c9bdc4 use fewer tags 2019-11-29 14:43:23 -08:00
davidnewhall2 9743a83aff fix comments 2019-11-29 13:55:59 -08:00
davidnewhall2 f176db5a01 remove all 2019-11-29 13:37:10 -08:00
davidnewhall2 ad3e0851c3 add radio label to vaps 2019-11-29 04:14:46 -08:00
davidnewhall2 01926aa058 use the same labels on all client metrics - derp 2019-11-29 03:33:24 -08:00
davidnewhall2 93d6aac27e use the same labels on all client metrics 2019-11-29 03:30:19 -08:00
davidnewhall2 ea66248c7b fix labels on UAP 2019-11-29 02:47:20 -08:00
davidnewhall2 c6c26e8641 fix up client labels 2019-11-29 00:44:33 -08:00
davidnewhall2 2a479ddfcf bug fix 2019-11-28 21:08:53 -08:00
davidnewhall2 f91ececd63 add an interface for testing 2019-11-28 20:43:06 -08:00
davidnewhall2 70aae28723 cleanup 2019-11-28 20:17:37 -08:00
davidnewhall2 61b43f2696 unify variable names 2019-11-28 16:09:21 -08:00
davidnewhall2 6419422424 add UDM support 2019-11-28 16:02:13 -08:00
davidnewhall2 0a15850dc8 cosolidate code 2019-11-28 04:14:05 -08:00
davidnewhall2 632936d772 re-arrange a file pieces. 2019-11-28 03:54:53 -08:00
davidnewhall2 3444db73d4 small qol update 2019-11-28 03:34:29 -08:00
davidnewhall2 898b145279 fix a few more unit locations 2019-11-28 03:08:13 -08:00
David Newhall II 8fd947daf2
Apply suggestions from code review
Co-Authored-By: Ben Kochie <superq@gmail.com>
2019-11-28 02:57:34 -08:00
davidnewhall2 63bf858dea fixes 2019-11-28 02:45:59 -08:00
David Newhall II b99253d092
Update promunifi/clients.go
Co-Authored-By: Ben Kochie <superq@gmail.com>
2019-11-28 02:41:27 -08:00