-
Notifications
You must be signed in to change notification settings - Fork 0
/
prometheus-config.yaml
53 lines (45 loc) · 1.03 KB
/
prometheus-config.yaml
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
global:
scrape_interval: 15s
evaluation_interval: 15s
alerting:
alertmanagers:
- scheme: http
static_configs:
- targets: ["alertmanager:9093"]
rule_files:
- /etc/prometheus/alert-rules.yaml
scrape_configs:
- job_name: "prometheus"
metrics_path: "/metrics"
static_configs:
- targets:
- "prometheus:9090"
- job_name: "node-exporter"
metrics_path: "/metrics"
static_configs:
- targets:
- "node-exporter:9100"
- job_name: "loki"
metrics_path: "/metrics"
static_configs:
- targets:
- "loki:3100"
- job_name: "cortex"
metrics_path: "/metrics"
static_configs:
- targets:
- "cortex:9010"
- job_name: "mimir"
metrics_path: "/metrics"
static_configs:
- targets:
- "mimir-1:8080"
- "mimir-2:8080"
- "mimir-3:8080"
remote_write:
- url: http://cortex:9010/api/v1/push
headers:
X-Scope-OrgID: fake
- url: http://mimir:9009/api/v1/push
headers:
X-Scope-OrgID: fake