mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-16 10:34:06 -08:00
3f686cad8b
Signed-off-by: Michal Wasilewski <mwasilewski@gmx.com>
21 lines
353 B
YAML
21 lines
353 B
YAML
# my global config
|
|
global:
|
|
scrape_interval: 15s
|
|
evaluation_interval: 30s
|
|
# scrape_timeout is set to the global default (10s).
|
|
|
|
external_labels:
|
|
monitor: codelab
|
|
foo: bar
|
|
|
|
rule_files:
|
|
- "first.rules"
|
|
- "second.rules"
|
|
- "my/*.rules"
|
|
|
|
scrape_configs:
|
|
- job_name: prometheus
|
|
|
|
consult_sd_configs:
|
|
- server: "localhost:1234"
|