From 648fe6c77099378b5e51864e9406518d41581c1b Mon Sep 17 00:00:00 2001 From: Justin Paul Date: Thu, 23 Mar 2023 13:44:54 -0400 Subject: [PATCH] Update prometheus.yml added example of second exporter --- prometheus/prometheus.yml | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/prometheus/prometheus.yml b/prometheus/prometheus.yml index ea57dc1..01a5a02 100644 --- a/prometheus/prometheus.yml +++ b/prometheus/prometheus.yml @@ -4,29 +4,34 @@ global: scrape_timeout: 60s scrape_configs: - - job_name: 'zvmexporter' + - job_name: 'vm-stats' scrape_interval: 30s scrape_timeout: 20s static_configs: - - targets: ['zertoexporter:9999'] + - targets: ['zvmexporter1:9999'] + #- targets: ['zvmexporter2:9999'] # only needed if you have two ZVMs to monitor - job_name: 'encryption-stats' scrape_interval: 30s scrape_timeout: 20s - static_configs: - - targets: ['zertoexporter:9999'] metrics_path: /statsmetrics + static_configs: + - targets: ['zvmexporter1:9999'] + #- targets: ['zvmexporter2:9999'] # only needed if you have two ZVMs to monitor + - job_name: 'thread-stats' scrape_interval: 30s scrape_timeout: 20s - static_configs: - - targets: ['zertoexporter:9999'] metrics_path: /threads - + static_configs: + - targets: ['zvmexporter1:9999'] + #- targets: ['zvmexporter2:9999'] # only needed if you have two ZVMs to monitor + - job_name: 'vra-stats' scrape_interval: 30s scrape_timeout: 20s - static_configs: - - targets: ['zertoexporter:9999'] metrics_path: /vrametrics + static_configs: + - targets: ['zvmexporter1:9999'] + #- targets: ['zvmexporter2:9999'] # only needed if you have two ZVMs to monitor