Commit Graph

637 Commits

Author SHA1 Message Date
davidnewhall2 1b22010a6c go again 2019-12-03 02:53:41 -08:00
davidnewhall2 0ecd3521d4 fix 2019-12-03 02:46:33 -08:00
davidnewhall2 9fe1afb1d6 still testing 2019-12-03 02:44:14 -08:00
davidnewhall2 ec48f3c972 fix build 2019-12-03 02:35:49 -08:00
davidnewhall2 bbfeccc840 fix build script 2019-12-03 02:33:00 -08:00
davidnewhall2 bf7b4296fe rename this back 2019-12-03 02:32:19 -08:00
davidnewhall2 919d2f5cae fix script 2019-12-03 02:30:22 -08:00
davidnewhall2 1f9aaef4ac add uptime back 2019-12-03 02:26:27 -08:00
davidnewhall2 7b9e251d2f fixes 2019-12-03 02:18:32 -08:00
davidnewhall2 b8831c84f3 comments 2019-12-03 00:59:37 -08:00
davidnewhall2 c449570d4e move pieces into methods 2019-12-03 00:19:47 -08:00
David Newhall II 99dbf70e41 Merge pull request #151 from davidnewhall/dn2_merge
Metrics Cleanup and Consolidation
2019-12-02 20:56:43 -08:00
davidnewhall2 1cee76f815 missed 2019-12-02 20:56:08 -08:00
davidnewhall2 fba82b2996 merge 2019-12-02 20:50:55 -08:00
David Newhall II c1fb1b1e4a Merge branch 'master' into dn2_merge 2019-12-02 20:47:54 -08:00
David Newhall II ba70a38cfd Merge pull request #147 from davidnewhall/superq/duplicate_metrics
Cleanup duplicate station metrics
2019-12-02 20:45:10 -08:00
David Newhall II 39b362b100 Merge branch 'master' into dn2_merge 2019-12-02 20:44:00 -08:00
davidnewhall2 19ebada90f combine more counters, fix cpu/mem graphs, fix udmp type 2019-12-02 20:18:55 -08:00
davidnewhall2 6aa440e57f comment cleanup 2019-12-02 19:40:29 -08:00
davidnewhall2 532d90f1ec add more labels, ditch uptime 2019-12-02 19:28:24 -08:00
davidnewhall2 c62f467d91 fixes 2019-12-02 18:38:58 -08:00
David Newhall II c0df694646 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 c582d8f387 coimbine usg stats with udm stats to add missing uplink values 2019-12-02 17:45:33 -08:00
Ben Kochie 1cd1928dd4 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 8f5b76944d 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 f34f3e63a5 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 8d54628138 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
David Newhall II 0f46136c5c Merge pull request #149 from davidnewhall/dn2_fix_env
fix env variable usage
2019-12-02 13:17:42 -08:00
davidnewhall2 d28ecfe988 fix env variable usage 2019-12-02 13:11:35 -08:00
davidnewhall2 a3c7c5e4ce readme update 2019-12-02 00:14:43 -08:00
David Newhall II 1eb4240942 Merge pull request #145 from davidnewhall/dn2_fix_install_sh
dpkg --force-confdef --force-confold --install
2019-12-01 22:38:16 -08:00
davidnewhall2 57e4f0c29a add a small readme 2019-12-01 22:33:37 -08:00
davidnewhall2 f2bde242fb dpkg --force-confdef --force-confold --install 2019-12-01 22:31:57 -08:00
davidnewhall2 6cbda63841 doc updates 2019-12-01 22:19:57 -08:00
David Newhall II bb4d026ced Merge pull request #144 from davidnewhall/dn2_ratios
Metrics Fixes
2019-12-01 19:36:13 -08:00
davidnewhall2 7dbd1321b5 update example 2019-12-01 19:29:40 -08:00
davidnewhall2 2511d2e2f0 reference new dashes 2019-12-01 19:28:44 -08:00
davidnewhall2 3760442b45 a couple more fixes 2019-12-01 19:04:17 -08:00
davidnewhall2 5f0c383593 fix more ratios, combine export loops 2019-12-01 17:42:13 -08:00
David Newhall II 43607d28e4 Merge pull request #143 from davidnewhall/superq/metric_names
Update some metrics
2019-12-01 17:32:27 -08:00
David Newhall II 2771c80912 Apply suggestions from code review 2019-12-01 17:25:49 -08:00
David Newhall II 4bd337eaf7 Apply suggestions from code review 2019-12-01 17:24:35 -08:00
David Newhall II 1cc58080e0 Merge branch 'master' into superq/metric_names 2019-12-01 17:18:41 -08:00
David Newhall II 539ee50c11 Merge pull request #142 from davidnewhall/dn2_moremoremore
Giving Influx some love on this one.
2019-12-01 16:48:55 -08:00
davidnewhall2 c2e94651d6 a couple others missing 2019-12-01 14:39:18 -08:00
davidnewhall2 8081dca8f3 add a few missing metrics 2019-12-01 14:03:27 -08:00
Ben Kochie b871afd5f3 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 866c44feac 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 757a3040a1 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 aecad4a372 more fixes 2019-12-01 03:26:13 -08:00