diff options
author | Franck Cuny <franck@fcuny.net> | 2022-04-04 14:29:09 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-04-04 14:29:09 -0700 |
commit | a9ef149fdf5331b8b6057775994a48d9188f501b (patch) | |
tree | 66da293aade1858a303cc363dad43d126012f0b5 | |
parent | prometheus: set the scheme for the URLs (diff) | |
download | world-a9ef149fdf5331b8b6057775994a48d9188f501b.tar.gz |
prometheus: I'll get this right this time
-rw-r--r-- | hosts/common/server/prometheus.nix | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/hosts/common/server/prometheus.nix b/hosts/common/server/prometheus.nix index 7f6b207..05162a8 100644 --- a/hosts/common/server/prometheus.nix +++ b/hosts/common/server/prometheus.nix @@ -65,10 +65,8 @@ in { job_name = "blackbox-ping"; metrics_path = "/probe"; params = { module = [ "icmp" ]; }; - static_configs = [{ - targets = - [ "8.8.8.8" "1.1.1.1" "4.4.4.4" "fcuny.net" "git.fcuny.net" ]; - }]; + static_configs = + [{ targets = [ "8.8.8.8" "1.1.1.1" "git.fcuny.net" ]; }]; relabel_configs = [ { source_labels = [ "__address__" ]; @@ -87,7 +85,7 @@ in { { job_name = "blackbox-http"; metrics_path = "/probe"; - params = { module = [ "http_2xx" ]; }; + params = { module = [ "https_2xx" ]; }; static_configs = [{ targets = [ "https://fcuny.net" |