David Newhall II
5e15576816
Merge pull request #147 from davidnewhall/superq/duplicate_metrics
...
Cleanup duplicate station metrics
2019-12-02 20:45:10 -08:00
David Newhall II
b2a11fef59
Merge branch 'master' into dn2_merge
2019-12-02 20:44:00 -08:00
davidnewhall2
96c413e1f1
combine more counters, fix cpu/mem graphs, fix udmp type
2019-12-02 20:18:55 -08:00
davidnewhall2
fa797c7f46
comment cleanup
2019-12-02 19:40:29 -08:00
davidnewhall2
b47b3bda02
add more labels, ditch uptime
2019-12-02 19:28:24 -08:00
davidnewhall2
5b6ff69ec5
fixes
2019-12-02 18:38:58 -08:00
David Newhall II
b9e628336c
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
1a0f053232
coimbine usg stats with udm stats to add missing uplink values
2019-12-02 17:45:33 -08:00
Ben Kochie
802e230219
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
81036a9d9c
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
39b270bea5
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
fe29f08afe
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
b932f7d3c1
Merge pull request #149 from davidnewhall/dn2_fix_env
...
fix env variable usage
2019-12-02 13:17:42 -08:00
davidnewhall2
bb3ef53893
fix env variable usage
2019-12-02 13:11:35 -08:00
davidnewhall2
3236f77625
readme update
2019-12-02 00:14:43 -08:00
David Newhall II
f41005743b
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
22e496b0ca
add a small readme
2019-12-01 22:33:37 -08:00
davidnewhall2
ac5d9361df
dpkg --force-confdef --force-confold --install
2019-12-01 22:31:57 -08:00
davidnewhall2
914af4fe0f
doc updates
2019-12-01 22:19:57 -08:00
David Newhall II
2362f5a3c7
Merge pull request #144 from davidnewhall/dn2_ratios
...
Metrics Fixes
2019-12-01 19:36:13 -08:00
davidnewhall2
331fc8bf3c
update example
2019-12-01 19:29:40 -08:00
davidnewhall2
617bb7d1a4
reference new dashes
2019-12-01 19:28:44 -08:00
davidnewhall2
fb1871d92c
a couple more fixes
2019-12-01 19:04:17 -08:00
davidnewhall2
2bf7b294d9
fix more ratios, combine export loops
2019-12-01 17:42:13 -08:00
David Newhall II
5769293a47
Merge pull request #143 from davidnewhall/superq/metric_names
...
Update some metrics
2019-12-01 17:32:27 -08:00
David Newhall II
7f97cd2675
Apply suggestions from code review
2019-12-01 17:25:49 -08:00
David Newhall II
5aa5eb7dee
Apply suggestions from code review
2019-12-01 17:24:35 -08:00
David Newhall II
4636a75a4a
Merge branch 'master' into superq/metric_names
2019-12-01 17:18:41 -08:00
David Newhall II
7d24541d6f
Merge pull request #142 from davidnewhall/dn2_moremoremore
...
Giving Influx some love on this one.
2019-12-01 16:48:55 -08:00
davidnewhall2
820cd41673
a couple others missing
2019-12-01 14:39:18 -08:00
davidnewhall2
1254589a19
add a few missing metrics
2019-12-01 14:03:27 -08:00
Ben Kochie
8b00f84f5f
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
98b6078bc4
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
51f91d2ec8
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
908c46c91d
more fixes
2019-12-01 03:26:13 -08:00
davidnewhall2
8838f74cc6
fixes
2019-12-01 00:43:57 -08:00
davidnewhall2
86f45624b8
test fix
2019-11-30 19:30:21 -08:00
davidnewhall2
3ae236fc0b
more reusable code
2019-11-30 18:18:49 -08:00
davidnewhall2
e841e8f66b
Improve influx library
2019-11-30 16:45:22 -08:00
davidnewhall2
4edd6cb8fd
allow more data reduction
2019-11-30 03:42:17 -08:00
davidnewhall2
03280e093d
remove a bunch of unused things from influx code
2019-11-30 02:47:11 -08:00
davidnewhall2
46f2309cd7
Add port ID to switch ports.
2019-11-30 02:15:06 -08:00
davidnewhall2
003066864d
jeeez, fix the build already
2019-11-30 02:05:56 -08:00
David Newhall II
2f25ce91ca
Merge pull request #141 from davidnewhall/dn2_stuff
...
Stuff
2019-11-30 01:59:54 -08:00
davidnewhall2
fef69bec58
add back comment
2019-11-30 01:58:38 -08:00
davidnewhall2
8b8ee0f18c
fix build
2019-11-30 01:57:50 -08:00
davidnewhall2
12da25c671
update readme
2019-11-30 01:47:06 -08:00
davidnewhall2
41eb73ae8c
move pkgs, update readme, add two more metrics to influx client
2019-11-30 01:45:42 -08:00
David Newhall II
bf1932760c
Merge pull request #139 from davidnewhall/dn2_prometheus
...
Add prometheus exporter.
2019-11-30 00:11:34 -08:00
davidnewhall2
612087c8cd
one more..
2019-11-29 23:36:26 -08:00