Commit Graph

505 Commits

Author SHA1 Message Date
davidnewhall2 1b8c5fed8f fix script 2019-12-03 02:30:22 -08:00
davidnewhall2 9475acb494 add uptime back 2019-12-03 02:26:27 -08:00
davidnewhall2 488a4be71e fixes 2019-12-03 02:18:32 -08:00
davidnewhall2 840fa69634 comments 2019-12-03 00:59:37 -08:00
davidnewhall2 c3ae982be5 move pieces into methods 2019-12-03 00:19:47 -08:00
davidnewhall2 69838f4554 missed 2019-12-02 20:56:08 -08:00
davidnewhall2 44feb73dd5 merge 2019-12-02 20:50:55 -08:00
David Newhall II 2d8894833e Merge branch 'master' into dn2_merge 2019-12-02 20:47:54 -08:00
David Newhall II 74bc0315a7 Merge pull request #147 from davidnewhall/superq/duplicate_metrics
Cleanup duplicate station metrics
2019-12-02 20:45:10 -08:00
David Newhall II 1eff0cedfd Merge branch 'master' into dn2_merge 2019-12-02 20:44:00 -08:00
davidnewhall2 cc8442db33 combine more counters, fix cpu/mem graphs, fix udmp type 2019-12-02 20:18:55 -08:00
davidnewhall2 369406ec3e comment cleanup 2019-12-02 19:40:29 -08:00
davidnewhall2 6ade83a58d add more labels, ditch uptime 2019-12-02 19:28:24 -08:00
davidnewhall2 e3337fdbc4 fixes 2019-12-02 18:38:58 -08:00
David Newhall II ff4adfb4a0 Merge pull request #150 from davidnewhall/dn2_udm_fixes
combine usg stats with udm stats to add missing uplink values
2019-12-02 17:54:23 -08:00
davidnewhall2 db258747d4 coimbine usg stats with udm stats to add missing uplink values 2019-12-02 17:45:33 -08:00
Ben Kochie 43ad96ae8d Remove IP address from device info label.
Signed-off-by: Ben Kochie <superq@gmail.com>
2019-12-02 23:34:49 +01:00
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
Ben Kochie 589710cb96 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 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