-
Notifications
You must be signed in to change notification settings - Fork 854
Expand file tree
/
Copy pathprometheus-config.yaml
More file actions
99 lines (97 loc) · 2.9 KB
/
prometheus-config.yaml
File metadata and controls
99 lines (97 loc) · 2.9 KB
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
# Prometheus configuration for capacity testing.
# Scrapes distributor and ingester separately so we can isolate
# ingester memory/CPU metrics from other components.
# Uses 25 tenants to increase series count and reduce the impact
# of fixed overhead on per-series estimates.
global:
scrape_interval: 15s
evaluation_interval: 15s
scrape_configs:
- job_name: "prometheus"
static_configs:
- targets: ["localhost:9090"]
- job_name: "distributor"
static_configs:
- targets: ["distributor:8001"]
- job_name: "ingester"
static_configs:
- targets: ["ingester:8002"]
- job_name: "querier"
static_configs:
- targets: ["querier:8003"]
remote_write:
- url: http://distributor:8001/api/v1/push
headers:
X-Scope-OrgID: "tenant-01"
- url: http://distributor:8001/api/v1/push
headers:
X-Scope-OrgID: "tenant-02"
- url: http://distributor:8001/api/v1/push
headers:
X-Scope-OrgID: "tenant-03"
- url: http://distributor:8001/api/v1/push
headers:
X-Scope-OrgID: "tenant-04"
- url: http://distributor:8001/api/v1/push
headers:
X-Scope-OrgID: "tenant-05"
- url: http://distributor:8001/api/v1/push
headers:
X-Scope-OrgID: "tenant-06"
- url: http://distributor:8001/api/v1/push
headers:
X-Scope-OrgID: "tenant-07"
- url: http://distributor:8001/api/v1/push
headers:
X-Scope-OrgID: "tenant-08"
- url: http://distributor:8001/api/v1/push
headers:
X-Scope-OrgID: "tenant-09"
- url: http://distributor:8001/api/v1/push
headers:
X-Scope-OrgID: "tenant-10"
- url: http://distributor:8001/api/v1/push
headers:
X-Scope-OrgID: "tenant-11"
- url: http://distributor:8001/api/v1/push
headers:
X-Scope-OrgID: "tenant-12"
- url: http://distributor:8001/api/v1/push
headers:
X-Scope-OrgID: "tenant-13"
- url: http://distributor:8001/api/v1/push
headers:
X-Scope-OrgID: "tenant-14"
- url: http://distributor:8001/api/v1/push
headers:
X-Scope-OrgID: "tenant-15"
- url: http://distributor:8001/api/v1/push
headers:
X-Scope-OrgID: "tenant-16"
- url: http://distributor:8001/api/v1/push
headers:
X-Scope-OrgID: "tenant-17"
- url: http://distributor:8001/api/v1/push
headers:
X-Scope-OrgID: "tenant-18"
- url: http://distributor:8001/api/v1/push
headers:
X-Scope-OrgID: "tenant-19"
- url: http://distributor:8001/api/v1/push
headers:
X-Scope-OrgID: "tenant-20"
- url: http://distributor:8001/api/v1/push
headers:
X-Scope-OrgID: "tenant-21"
- url: http://distributor:8001/api/v1/push
headers:
X-Scope-OrgID: "tenant-22"
- url: http://distributor:8001/api/v1/push
headers:
X-Scope-OrgID: "tenant-23"
- url: http://distributor:8001/api/v1/push
headers:
X-Scope-OrgID: "tenant-24"
- url: http://distributor:8001/api/v1/push
headers:
X-Scope-OrgID: "tenant-25"