Add altermanager section to prometheus config

This commit is contained in:
2026-07-05 13:18:37 +02:00
parent 20e999f62b
commit d7314b6af3
3 changed files with 23 additions and 0 deletions
@@ -12,6 +12,14 @@ node.default["kosmos_prometheus"]["global"] = {
"evaluation_interval" => "30s",
}
node.default["kosmos_prometheus"]["alerting"] = {
"alertmanagers" => [
"static_configs" => [
{ "targets" => ["127.0.0.1:9093"] }
]
]
}
node.default["kosmos_prometheus"]["jobs"] = {
"prometheus" => { "targets" => [{ "target" => "localhost:9090", "instance" => "localhost" }] },
}