-
Notifications
You must be signed in to change notification settings - Fork 2
/
prometheus.yml
35 lines (32 loc) · 1.19 KB
/
prometheus.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
global:
# This is higher than RabbitMQ's collect_statistics_interval,
# but still close enough to capture metrics that were refreshed within this interval
# This value determines the range that we use with rate():
# https://www.robustperception.io/what-range-should-i-use-with-rate
scrape_interval: 5s # Default is every 1 minute.
# scrape_timeout: 10s # Default is 10 seconds.
# evaluation_interval: 60s # Default is every 1 minute.
# Alertmanager configuration
alerting:
alertmanagers:
- static_configs:
- targets:
# - 'alertmanager:9093'
# Load rules once and periodically evaluate them according to the global 'evaluation_interval'.
rule_files:
# - "first_rules.yml"
# - "second_rules.yml"
scrape_configs:
# The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
- job_name: 'prometheus'
static_configs:
- targets: ['prometheus:9090']
- job_name: 'redis_exporter'
static_configs:
- targets: ['redis-exporter:9121']
- job_name: 'docker_exporter'
static_configs:
- targets: ['docker-exporter:9417']
- job_name: 'redis-playground-api'
static_configs:
- targets: ['redis-playground-api:80']