rico0: scrape postgres_exporter data

This commit is contained in:
Adithya 2024-07-20 20:17:20 +05:30
parent c43ccffcb8
commit 3ef7bb543b
Signed by: adtya
GPG key ID: B8857BFBA2C47B9C

View file

@ -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";