63 Commits

Author SHA1 Message Date
d32c27b31c
Merge pull request #3 from durin42/metrics-update
metrics: update crates to latest versions and drop some unused features
2024-11-02 20:41:03 -04:00
Augie Fackler
4755513f5d metrics-exporter-prometheus: drop default features
This prunes quite a bit from the dependency graph that we weren't using anyway.
2024-11-01 21:44:13 -04:00
Augie Fackler
feb6684e8f metrics: update to latest version
Really the only reason I bothered was because the old version brings
in an ahash that fails to compile on macOS Arm or something like that,
but since I'd done the upgrade before for my own packages it wasn't
hard.
2024-10-28 12:23:47 -04:00
5341153a86 Use the metrics facade v0.2.3 2023-03-14 13:17:12 -04:00
f609dcfef3 Bump version to 0.2.2 2023-03-14 11:53:51 -04:00
390b61ee86 Higher resolution ping timings 2023-03-13 20:26:19 -04:00
b45b29e22d Update socket2 2023-02-27 15:19:16 -05:00
347ac8147a Update tiny_http 2023-02-27 15:17:30 -05:00
ca9ce99d49 Update prometheus 2023-02-27 15:16:34 -05:00
b7aafbce25 2022-07-14 21:37:32 -04:00
a91e316aec update tiny_http and socket2 2022-07-14 21:36:48 -04:00
3dc6ded1b0 Update icmp-socket version 2022-07-14 21:34:28 -04:00
2cea3a294e Update to tracing for logs 2022-07-14 21:13:42 -04:00
26ac114f88 create nix package wrapper using flake-compat 2022-03-03 17:45:22 -05:00
425ab1e959 nix flake 2022-03-01 17:53:35 -05:00
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