rico0: scrape postgres_exporter data
This commit is contained in:
parent
c43ccffcb8
commit
3ef7bb543b
1 changed files with 9 additions and 0 deletions
|
@ -11,7 +11,16 @@ _: {
|
|||
prometheus = {
|
||||
enable = true;
|
||||
listenAddress = "127.0.0.1";
|
||||
port = 9090;
|
||||
scrapeConfigs = [
|
||||
{
|
||||
job_name = "postgres";
|
||||
scheme = "https";
|
||||
metrics_path = "/postgres-metrics";
|
||||
static_configs = [
|
||||
{ targets = [ "wynne.labs.adtya.xyz" ]; }
|
||||
];
|
||||
}
|
||||
{
|
||||
job_name = "systemd";
|
||||
scheme = "https";
|
||||
|
|
Loading…
Reference in a new issue