From 59f1cc4c5994da34f2c48a2347499f9cfb7bd836 Mon Sep 17 00:00:00 2001 From: "halil.cakal" Date: Wed, 29 Jan 2025 13:24:02 +0000 Subject: Add new dashboard to monitor some of the stats of PostgreSQL - add postgres-exporter service to expose postgresql db metrics to prometheus - add new job scraper to prometheus for both kpi and endurance jobs - add new dashboard: postgresql-statistics to the grafana Issue-ID: CPS-2585 Change-Id: Ia7ede41d00364918b1054d9b5a38e2feea4fc8e5 Signed-off-by: halil.cakal --- docker-compose/config/prometheus.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'docker-compose/config/prometheus.yml') diff --git a/docker-compose/config/prometheus.yml b/docker-compose/config/prometheus.yml index 8db07c8d05..1beea6ebce 100644 --- a/docker-compose/config/prometheus.yml +++ b/docker-compose/config/prometheus.yml @@ -20,4 +20,10 @@ scrape_configs: static_configs: - targets: - '172.17.0.1:8798' - - '172.17.0.1:8799' \ No newline at end of file + - '172.17.0.1:8799' + +- job_name: 'postgres' + static_configs: + - targets: + - '172.17.0.1:9187' + - '172.17.0.1:9188' \ No newline at end of file -- cgit