Add altermanager section to prometheus config
This commit is contained in:
@@ -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" }] },
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user