modules/nixos/monitoring: ofborg: telegraf -> prometheus
scraping this target with telegraf isn't working since 1.30.0
This commit is contained in:
parent
d51073e6c8
commit
2d3f246125
2 changed files with 11 additions and 3 deletions
modules/nixos/monitoring
|
@ -25,6 +25,17 @@
|
|||
}
|
||||
];
|
||||
}
|
||||
{
|
||||
job_name = "ofborg";
|
||||
scrape_interval = "60s";
|
||||
metrics_path = "/prometheus.php";
|
||||
scheme = "https";
|
||||
static_configs = [
|
||||
{
|
||||
targets = [ "events.ofborg.org" ];
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
alertmanagers = [
|
||||
{
|
||||
|
|
|
@ -41,8 +41,5 @@
|
|||
timeout = "10s";
|
||||
})
|
||||
hosts;
|
||||
prometheus.urls = [
|
||||
"https://events.ofborg.org/prometheus.php"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue