David Newhall II
7cb4191b44
Merge pull request #147 from davidnewhall/superq/duplicate_metrics
...
Cleanup duplicate station metrics
2019-12-02 20:45:10 -08:00
David Newhall II
8b5753ce58
Merge branch 'master' into dn2_merge
2019-12-02 20:44:00 -08:00
davidnewhall2
c9d64618a2
combine more counters, fix cpu/mem graphs, fix udmp type
2019-12-02 20:18:55 -08:00
davidnewhall2
d3673251df
comment cleanup
2019-12-02 19:40:29 -08:00
davidnewhall2
e5a67922ee
add more labels, ditch uptime
2019-12-02 19:28:24 -08:00
davidnewhall2
36fe6cda9e
fixes
2019-12-02 18:38:58 -08:00
David Newhall II
9143aed709
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
da496184fa
coimbine usg stats with udm stats to add missing uplink values
2019-12-02 17:45:33 -08:00
Ben Kochie
07b111dbc2
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
b9dae4b8c6
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
43de17053d
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
583a8a4a0e
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
b045a457a4
fix env variable usage
2019-12-02 13:11:35 -08:00
davidnewhall2
e77444a9f3
readme update
2019-12-02 00:14:43 -08:00
davidnewhall2
4e58defd44
add a small readme
2019-12-01 22:33:37 -08:00
davidnewhall2
871769b6ea
dpkg --force-confdef --force-confold --install
2019-12-01 22:31:57 -08:00
davidnewhall2
bb031c146d
doc updates
2019-12-01 22:19:57 -08:00
davidnewhall2
564fe595b6
update example
2019-12-01 19:29:40 -08:00
davidnewhall2
dc8e6aaadc
reference new dashes
2019-12-01 19:28:44 -08:00
davidnewhall2
160e995037
a couple more fixes
2019-12-01 19:04:17 -08:00
davidnewhall2
fb996282fd
fix more ratios, combine export loops
2019-12-01 17:42:13 -08:00
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
David Newhall II
756b15c130
Update promunifi/clients.go
...
Co-Authored-By: Ben Kochie <superq@gmail.com>
2019-11-28 02:33:40 -08:00
David Newhall II
a1bdc6f3bd
Update promunifi/usw.go
...
Co-Authored-By: Ben Kochie <superq@gmail.com>
2019-11-28 02:32:12 -08:00
davidnewhall2
28f74a33c2
more fixes!
2019-11-28 02:30:39 -08:00
davidnewhall2
2d92837266
more fixes
2019-11-28 02:25:33 -08:00
davidnewhall2
328e5654c5
track zeros
2019-11-27 22:31:46 -08:00
davidnewhall2
a29fcc79ea
trim a few more zeros
2019-11-27 22:20:48 -08:00
davidnewhall2
051399f7e4
clean up site and clients
2019-11-27 22:04:12 -08:00
davidnewhall2
996f45d9cf
fix linter
2019-11-27 21:33:22 -08:00
davidnewhall2
810a3616e9
fix the names
2019-11-27 21:22:37 -08:00
David Newhall II
3a995a8e9e
Update promunifi/clients.go
...
Co-Authored-By: Ben Kochie <superq@gmail.com>
2019-11-27 03:08:22 -08:00
davidnewhall2
88735b432e
Update comment
2019-11-27 02:57:24 -08:00
davidnewhall2
e8be693a22
update deps
2019-11-26 01:52:02 -08:00
davidnewhall2
48b3ac25d8
rearrange wait group
2019-11-26 01:49:22 -08:00
davidnewhall2
ded1642f28
add radio table stats
2019-11-25 23:55:00 -08:00
davidnewhall2
8eabd2d75b
add more uap stats
2019-11-25 22:34:37 -08:00
davidnewhall2
03e78149cc
fix version setting
2019-11-25 13:34:49 -08:00
davidnewhall2
a4f3307519
fix lint errors
2019-11-25 13:20:45 -08:00
davidnewhall2
4ad60e290e
shave a few more nanoseconds
2019-11-25 12:59:26 -08:00
davidnewhall2
afd3664572
shave off some nanoseconds
2019-11-25 03:14:14 -08:00
davidnewhall2
a2032e1145
rename client struct
2019-11-25 00:36:50 -08:00
davidnewhall2
bac2ed2ff9
fix more port numbers
2019-11-25 00:19:05 -08:00
davidnewhall2
c9352cc58b
Updates
2019-11-25 00:17:59 -08:00
davidnewhall2
b3ea0f0b05
fix bugs
2019-11-18 03:07:23 -08:00
davidnewhall2
8233816aeb
missed a couple
2019-11-18 02:43:13 -08:00
davidnewhall2
872854b2cf
move tx/rx labels around
2019-11-18 02:41:20 -08:00
davidnewhall2
141fe95065
rename some things
2019-11-18 02:10:16 -08:00
davidnewhall2
2e8f39d6dc
this makes more sense
2019-11-18 01:38:34 -08:00
davidnewhall2
290c5467d5
found a bug in site code
2019-11-18 01:26:49 -08:00
davidnewhall2
2f456166e1
spread things out
2019-11-18 01:19:30 -08:00