modules/nixos/monitoring: ofborg: telegraf -> prometheus

scraping this target with telegraf isn't working since 1.30.0
This commit is contained in:
zowoq 2024-03-15 09:49:02 +10:00
parent d51073e6c8
commit 2d3f246125
2 changed files with 11 additions and 3 deletions
modules/nixos/monitoring

View file

@ -25,6 +25,17 @@
}
];
}
{
job_name = "ofborg";
scrape_interval = "60s";
metrics_path = "/prometheus.php";
scheme = "https";
static_configs = [
{
targets = [ "events.ofborg.org" ];
}
];
}
];
alertmanagers = [
{

View file

@ -41,8 +41,5 @@
timeout = "10s";
})
hosts;
prometheus.urls = [
"https://events.ofborg.org/prometheus.php"
];
};
}