Commit graph

26 commits

Author SHA1 Message Date
Jan Christian Grünhage 3079c0095b
chore: update copyright headers 2022-07-25 09:33:06 +02:00
Jan Christian Grünhage 6a79d5adf1 fix: config file completion completing files 2022-04-03 01:49:46 +02:00
Jan Christian Grünhage f7176ef42c feat: add shell completions and man page generation 2022-04-02 21:43:21 +02:00
Jan Christian Grünhage c78e0837a4 chore: fix clippy lints 2022-03-17 16:25:40 +01:00
Jan Christian Grünhage 2fbac41ed6 chore: upgrade clap 2022-03-17 16:25:40 +01:00
Jan Christian Grünhage 2972cb2476 feat: allow configuring ping bucket sizes 2022-03-17 16:25:40 +01:00
Jan Christian Grünhage 854ddced3a chore!: replace prometheus with metrics
As part of the overall modernization of this application, this commit
replaces the prometheus crate with the generic metrics facade crate, and
the metrics_exporter_prometheus crate for exporting the metrics to
prometheus.

This also removes some useless http metrics that were cargo-culted in
from the prometheus crate example.

BREAKING CHANGE: http metrics are removed by this change
2022-03-17 16:25:40 +01:00
Jan Christian Grünhage 490c2031d2 chore: replace raw hyper with axum 2022-03-17 15:05:18 +01:00
Jan Christian Grünhage a803fdd213 feat: allow configuring timeout 2022-03-17 11:13:32 +01:00
Jan Christian Grünhage 1c1a31dbec chore!: refactor config file format
There are substructs for the different parts of the config now, as a
preparation of a larger refactor coming in.

BREAKING CHANGE: config file format changed
2022-03-17 00:16:29 +01:00
Jan Christian Grünhage c2988995e1 chore: switch tokio-ping over to fork 2021-04-27 21:26:35 +02:00
Jan Christian Grünhage a17ee534b2 chore: code cleanup 2021-04-27 21:26:35 +02:00
Jan Christian Grünhage 82f7101f54 chore: replace homegrown errors with anyhow 2021-04-23 09:51:11 +02:00
Jan Christian Grünhage e6210b42c9 chore: update dependencies, including stable tokio 2021-04-23 09:13:31 +02:00
Jan Christian Grünhage 3b29d072dc fix: apply rustfmt changes 2021-04-19 11:45:24 +02:00
Jan Christian Grünhage d6900c7aa9 feat: add healthcheck endpoint 2021-04-19 11:45:24 +02:00
Jan Christian Grünhage 0448980dd9
fix interval timings for concurrent pings 2020-04-08 12:01:19 +02:00
Jan Christian Gr??nhage a1f772efe2
improve documentation 2020-04-06 22:50:32 +02:00
Jan Christian Gr??nhage e97e8f7d70
fix timing intervals
fixes #3
2020-04-06 20:41:28 +02:00
Jan Christian Gr??nhage 0e8f270742 improve logging and error handling
fixes #2
2020-04-06 13:57:06 +02:00
Jan Christian Gr??nhage 2c2c5359b6 add copyright headers 2020-04-06 13:28:02 +02:00
Jan Christian Gr??nhage c6d5505f2a update dependencies, replace oping with tokio_ping 2020-04-06 12:56:39 +02:00
Jan Christian Grünhage b7052b9e27 moved README to right directory 2019-02-06 19:42:13 +01:00
Jan Christian Grünhage f68751df31 hopefully finish implementation 2019-02-06 19:30:33 +01:00
Jan Christian Grünhage 8748ba7e5b refactoring the futures to be more readable 2019-02-05 01:20:32 +01:00
Jan Christian Grünhage f05a6d9083 commit initial mess 2019-02-01 15:56:35 +01:00