Slowing down scrape intervals

This commit is contained in:
2023-02-27 18:21:16 -05:00
parent ec5518513e
commit 16bb4c777b
3 changed files with 5 additions and 4 deletions
+1
View File
@@ -21,6 +21,7 @@ services:
- VERIFY_SSL=False - VERIFY_SSL=False
- ZVM_HOST=192.168.50.60 - ZVM_HOST=192.168.50.60
- ZVM_PORT=443 - ZVM_PORT=443
- SCRAPE_SPEED=30 #how often should the exporter scrape the Zerto API
- CLIENT_ID=api-script - CLIENT_ID=api-script
- CLIENT_SECRET=js51tDM8oappYUGRJBhF7bcsedNoHA5j - CLIENT_SECRET=js51tDM8oappYUGRJBhF7bcsedNoHA5j
- LOGGING_LEVEL=INFO - LOGGING_LEVEL=INFO
+1 -1
View File
@@ -8,4 +8,4 @@ datasources:
isDefault: true isDefault: true
version: 1 version: 1
editable: false editable: false
scrapeInterval: 10s scrapeInterval: 30s
+3 -3
View File
@@ -1,9 +1,9 @@
global: global:
scrape_interval: 10s scrape_interval: 30s
evaluation_interval: 10s evaluation_interval: 20s
scrape_configs: scrape_configs:
- job_name: 'ransomexporter' - job_name: 'ransomexporter'
scrape_interval: 10s scrape_interval: 30s
static_configs: static_configs:
- targets: ['zertoexporter:9999'] - targets: ['zertoexporter:9999']