rico0: add alertmanager to prometheus

This commit is contained in:
Adithya 2024-07-21 19:18:44 +05:30
parent c90653bca1
commit 902573f029
Signed by: adtya
GPG key ID: B8857BFBA2C47B9C

View file

@ -12,6 +12,14 @@ _: {
enable = true; enable = true;
listenAddress = "127.0.0.1"; listenAddress = "127.0.0.1";
port = 9090; port = 9090;
alertmanagers = [
{
scheme = "https";
static_configs = [
{ targets = [ "alertmanager.labs.adtya.xyz" ]; }
];
}
];
scrapeConfigs = [ scrapeConfigs = [
{ {
job_name = "postgres"; job_name = "postgres";