simplify prometheus scrape_configs
-# my global config
global:
- scrape_interval: 10s # By default, scrape targets every 15 seconds.
- evaluation_interval: 10s # By default, scrape targets every 15 seconds.
- # scrape_timeout is set to the global default (10s).
-
- # Attach these labels to any time series or alerts when communicating with
- # external systems (federation, remote storage, Alertmanager).
- external_labels:
- monitor: 'my-project'
-
-# Load and evaluate rules in this file every 'evaluation_interval' seconds.
-rule_files:
-
-
-# alert
-alerting:
-# alertmanagers:
-# - scheme: http
-# static_configs:
-# - targets:
-# - "alertmanager:9093"
+ scrape_interval: 10s
+ evaluation_interval: 10s
scrape_configs:
- job_name: 'gnmic'
