From 32681d65737fc971a40ad355a791d06bbcb56eeb Mon Sep 17 00:00:00 2001 From: GJS2162 Date: Tue, 8 Oct 2024 16:18:12 +0530 Subject: [PATCH] Added scrape config jobs for gpu and kong metrics --- common/monitoring/prometheus/prometheus.yaml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/common/monitoring/prometheus/prometheus.yaml b/common/monitoring/prometheus/prometheus.yaml index 70ab493..c8e6cc7 100644 --- a/common/monitoring/prometheus/prometheus.yaml +++ b/common/monitoring/prometheus/prometheus.yaml @@ -13,4 +13,19 @@ scrape_configs: - job_name: 'kong' scrape_interval: 5s static_configs: - - targets: ['kong:8001'] \ No newline at end of file + - targets: ['kong:8001'] + - job_name: 'gpu-operator' + scrape_interval: 5s + metrics_path: '/gpu-operator/metrics' + static_configs: + - targets: ['metrics.k8s.bhasai.samagra.io'] + - job_name: 'dcgm-exporter' + scrape_interval: 5s + metrics_path: '/dcgm-exporter/metrics' + static_configs: + - targets: ['metrics.k8s.bhasai.samagra.io'] + - job_name: 'kong-gateway-admin' + scrape_interval: 5s + metrics_path: '/kong-gateway-admin/metrics' + static_configs: + - targets: ['metrics.k8s.bhasai.samagra.io'] \ No newline at end of file