rico0: add alertmanager to prometheus
This commit is contained in:
parent
c90653bca1
commit
902573f029
1 changed files with 8 additions and 0 deletions
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue