mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
* Devenv: fix prometheus scrape ips * Devenv: fix grafana in devenv reference * Devenv: fixes prom random data reference
40 lines
969 B
YAML
40 lines
969 B
YAML
# 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"
|
|
# - "first.rules"
|
|
# - "second.rules"
|
|
|
|
# alerting:
|
|
# alertmanagers:
|
|
# - scheme: http
|
|
# static_configs:
|
|
# - targets:
|
|
# - "127.0.0.1:9093"
|
|
|
|
scrape_configs:
|
|
- job_name: 'prometheus'
|
|
static_configs:
|
|
- targets: ['localhost:9090']
|
|
|
|
- job_name: 'node_exporter'
|
|
static_configs:
|
|
- targets: ['node_exporter:9100']
|
|
|
|
- job_name: 'fake-data-gen'
|
|
static_configs:
|
|
- targets: ['fake-prometheus-data:9091']
|
|
|
|
- job_name: 'grafana'
|
|
static_configs:
|
|
- targets: ['grafana:3000']
|
|
|
|
- job_name: 'prometheus-random-data'
|
|
static_configs:
|
|
- targets: ['prometheus-random-data:8080']
|