Update prometheus.yml

added example of second exporter
This commit is contained in:
2023-03-23 13:44:54 -04:00
committed by GitHub
parent c6abd1d2a9
commit 648fe6c770
+14 -9
View File
@@ -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