Files
grafana/docker/blocks/prometheus/prometheus.yml

40 lines
934 B
YAML
Raw Normal View History

2015-09-29 08:16:26 +02:00
# 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).
# Load and evaluate rules in this file every 'evaluation_interval' seconds.
rule_files:
- "alert.rules"
2015-09-29 08:16:26 +02:00
# - "first.rules"
# - "second.rules"
alerting:
alertmanagers:
- scheme: http
static_configs:
- targets:
- "127.0.0.1:9093"
2015-09-29 08:16:26 +02:00
scrape_configs:
- job_name: 'prometheus'
static_configs:
- targets: ['localhost:9090']
2015-09-29 08:16:26 +02:00
- job_name: 'node_exporter'
static_configs:
- targets: ['127.0.0.1:9100']
- job_name: 'fake-data-gen'
static_configs:
- targets: ['127.0.0.1:9091']
- job_name: 'grafana'
2016-08-23 11:50:17 +02:00
static_configs:
- targets: ['127.0.0.1:3000']
- job_name: 'prometheus-random-data'
static_configs:
- targets: ['127.0.0.1:8080']