diff options
author | 2025-01-29 13:24:02 +0000 | |
---|---|---|
committer | 2025-01-30 16:04:07 +0000 | |
commit | 59f1cc4c5994da34f2c48a2347499f9cfb7bd836 (patch) | |
tree | f9f962ca4ab4aed16eeb760b4fecb3a506418ecf /docker-compose/config/prometheus.yml | |
parent | dfb5651ab58e15dd683e111156d7a22687e79a01 (diff) |
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 <halil.cakal@est.tech>
Diffstat (limited to 'docker-compose/config/prometheus.yml')
-rw-r--r-- | docker-compose/config/prometheus.yml | 8 |
1 files changed, 7 insertions, 1 deletions
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 |