aboutsummaryrefslogtreecommitdiff
path: root/hosts/common/server
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-04-04 14:29:09 -0700
committerFranck Cuny <franck@fcuny.net>2022-04-04 14:29:09 -0700
commita9ef149fdf5331b8b6057775994a48d9188f501b (patch)
tree66da293aade1858a303cc363dad43d126012f0b5 /hosts/common/server
parentprometheus: set the scheme for the URLs (diff)
downloadinfra-a9ef149fdf5331b8b6057775994a48d9188f501b.tar.gz
prometheus: I'll get this right this time
Diffstat (limited to 'hosts/common/server')
-rw-r--r--hosts/common/server/prometheus.nix8
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"