Add postgresql (#163)

* feat: add postgresql

* feat: add grafana dashbaord, fix exporter
This commit is contained in:
Ryan Yin
2024-09-03 14:32:20 +08:00
committed by GitHub
parent a1789eebff
commit cf34ea047c
6 changed files with 3323 additions and 4 deletions
+13 -1
View File
@@ -87,7 +87,19 @@
}
];
}
{
job_name = "postgres-exporter";
scrape_interval = "30s";
metrics_path = "/metrics";
static_configs = [
{
targets = ["${myvars.networking.hostsAddr.aquamarine.ipv4}:9187"];
labels.type = "app";
labels.app = "postgresql";
labels.host = "aquamarine";
}
];
}
{
job_name = "sftpgo-embedded-exporter";
scrape_interval = "30s";