48 Commits

Author SHA1 Message Date
39d90db9ab Bump version to v0.2.1 v0.2.1 2021-03-01 20:37:40 -05:00
0835ea3ade Fix a bunch of stuff for multi destination pings. 2021-02-26 14:23:36 -05:00
278ef8da04 Allow ip addresses in the pingHosts list 2021-02-20 19:36:25 -05:00
b2b6d5f8ed Bump version v0.2.0 2021-02-20 18:51:25 -05:00
15423a607b Use a flag for stunHosts for consistency and remove stop_signal 2021-02-20 18:50:38 -05:00
14e84e6f1c Handle multiple ping targets 2021-02-20 18:22:28 -05:00
b1da9c9f55 Upgrade icmp-socket version from crates.io 2021-02-04 17:20:25 -05:00
53b9948491 Handle non echo reply packets properly for ICMPv6 Packets 2021-02-02 20:52:08 -05:00
060e505ab0 Better handling of non echo packets for ICMPv4 2021-02-02 20:35:34 -05:00
93faffbd42 Handle Unreachables correctnly 2021-01-31 08:58:27 -05:00
57ff47b36f Finish Domain based state machine. 2021-01-30 22:30:29 -05:00
8ca7122609 Handle packet-filtering properly 2021-01-30 20:23:47 -05:00
7878548dc8 Use the icmp-socket module instead of ekko 2021-01-30 19:27:37 -05:00
76a5006a1f Only record elapsed if its not 0 2021-01-05 21:56:51 -05:00
301bbe14fe Whoops have remove the ip lables from the metric definitions too 2021-01-05 21:37:39 -05:00
8d30bc61e0 On second thought dont store IP as a label 2021-01-05 21:05:35 -05:00
d283551bb7 When unreachable occurs resolve the address again 2021-01-05 20:58:11 -05:00
762fdb8bd5 Track IP address as well as domain in a label 2021-01-05 20:37:44 -05:00
41f74fd637 Allow configuring the use of IPv6 and correctly handle unreachable errors 2021-01-05 20:33:11 -05:00
d8c4d4d61a Use resolve and a fixed version of Ekko 2021-01-05 20:32:02 -05:00
1058db3716 Cleanup unused warnings 2020-12-24 23:35:17 -05:00
5a47c31152 Flag organization and cleanup 2020-12-24 23:28:30 -05:00
368ae10e0f Export ping statistics to prometheus 2020-12-24 23:22:15 -05:00
13889a2a04 Basic ping roundtrip logic sketched in 2020-12-24 21:56:00 -05:00
5946cd7f77 Refactor to make room for icmp stats 2020-12-24 13:25:42 -05:00
Augie Fackler
47e7cf8f5a metrics: report a simple gauge that's 0 for failure and 1 success
Will make some kinds of analysis easier.
2020-07-31 15:23:07 -04:00
Augie Fackler
17e5b88dad defaults: add many more hosts for testing 2020-07-31 15:13:25 -04:00
d9f8d9a3c9 directly import the stderrlog crate for readability 2020-07-31 15:09:27 -04:00
Augie Fackler
f0a7c3ef02 probe: spread probe threads out uniformly in time
This way we're a little less bursty and might notice changes more quickly.
2020-07-31 15:06:33 -04:00
6fdce7e8d2 Some more ergonomics 2020-07-31 15:06:27 -04:00
e9d4a770d3 Revert "No nursery for render thread"
This reverts commit 59da2337bd8076b147e4eb76f7ad82d17ac0c8c2.
2020-07-31 14:40:37 -04:00
59da2337bd No nursery for render thread 2020-07-28 19:17:58 -04:00
a6fedfc978 Shutdown gracefully after render_thread failure 2020-07-27 23:36:45 -04:00
c3a7709277 Remove servers that no longer work 2020-07-27 23:15:50 -04:00
32b203f50d
Merge pull request #1 from durin42/logspam
Logspam
2020-07-27 23:09:17 -04:00
Augie Fackler
91f04b3fe9 logging: include a timestamp with millisecond precision 2020-07-27 22:58:08 -04:00
Augie Fackler
c4a069f246 logging: sprinkle some debug logs throughout 2020-07-27 22:58:08 -04:00
Augie Fackler
35914251bf logging: convert existing eprintln calls to log calls
I tried to categorize them appropriately.
2020-07-27 22:58:08 -04:00
Augie Fackler
957199557b main: use Result<()> from anyhow to make error handling easier here
As the program grows some configuration, it makes sense to let errors
propagate gracefully.
2020-07-27 22:58:08 -04:00
b2d43c1db5 Apache License 2020-07-27 22:51:23 -04:00
770b160843 Dont hard fail on resolve errors 2020-07-13 19:26:34 -04:00
632b14e6b2 Remove unused flag 2020-07-10 20:53:16 -04:00
Jeremy Wall
9012e02b0e Configurable listen port 2020-07-02 14:07:16 -05:00
Jeremy Wall
6f14d5d084 Fix stupid bug in the latency calculation 2020-07-02 11:54:49 -05:00
4780c056e6 Use tiny_http to serve the prometheus metrics. 2020-07-01 22:03:26 -04:00
164edf8945 Add some help text and cleanup some warnings/todos 2020-07-01 21:14:28 -04:00
7e89db36e9 Mostly working data collection and exporting. 2020-07-01 21:01:17 -04:00
b0de8b5a00 Initial commit with DNS resolution 2020-06-30 19:27:17 -05:00