Commit Graph

36 Commits

Author SHA1 Message Date
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 166585bfd5 move pkgs, update readme, add two more metrics to influx client 2019-11-30 01:45:42 -08:00
David Newhall II 2afa54054e Move library. 2019-06-24 01:07:52 -07:00
David Newhall II e3bfc5e9c4 Rename the pkg back to what it was. 2019-06-23 20:13:40 -07:00
David Newhall II f2c267ea02 Rename a few things. 2019-06-23 18:38:27 -07:00
David Newhall II f507c2da0f fix typo 2019-06-23 16:28:51 -07:00
David Newhall II f60f10dd3d Add a run-once lambda mode. 2019-06-23 16:28:51 -07:00
David Newhall II 8ba0f8355e text and comment updates. 2019-06-23 12:06:52 -07:00
David Newhall II c930f328db Allow app to import example files without renaming. 2019-06-21 18:48:20 -07:00
David Newhall II bf8c465560 Fix logging 2019-06-21 04:56:17 -07:00
David Newhall II 641f1ccd19 fixes 2019-06-21 04:29:07 -07:00
David Newhall II e6655bc76f Tested and working. 2019-06-21 04:22:10 -07:00
David Newhall II 9481a9e133 Change to newer toml library. Add untested support for xml, json and yaml config file formats. 2019-06-21 03:58:05 -07:00
David Newhall II 02963e0d40 Add better loggers. 2019-06-19 01:29:03 -07:00
David Newhall II 94f21e60d8 clean up dumper code. 2019-06-19 00:30:43 -07:00
David Newhall II d9b9ae9ca1 fix variable order 2019-06-18 23:55:04 -07:00
David Newhall II adfd375046 typo. 2019-06-18 23:38:02 -07:00
David Newhall II 3f6b3a03c0 Add max_errors and ability to exit. 2019-06-18 23:32:35 -07:00
David Newhall II 9e2001b1c8 rename method 2019-06-14 21:34:47 -07:00
David Newhall II 0d8fd00439 Add site metrics to influxdb. 2019-06-14 21:13:55 -07:00
David Newhall II ffe626b392 Migrate main to pkg. 2019-06-13 01:00:20 -07:00