-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathvalues-prometheus-central.yaml
340 lines (338 loc) · 8.95 KB
/
values-prometheus-central.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
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
---
alertmanager: # Required to be notified on alerts managed by Prometheus
enabled: true
serviceAccount:
create: true
name: alertmanager-sa
alertmanagerSpec:
resources: null
storage:
volumeClaimTemplate:
spec:
accessModes: ["ReadWriteOnce"]
resources:
requests:
storage: 1Gi
prometheus:
prometheusSpec:
enableRemoteWriteReceiver: true # For Tempo Metrics Generator
remoteWrite:
- url: http://mimir-distributor.mimir.svc:8080/api/v1/push
headers:
X-Scope-OrgID: _local
queueConfig:
capacity: 5000
minShards: 1
maxShards: 50
maxSamplesPerSend: 2000
writeRelabelConfigs:
- sourceLabels: [namespace]
regex: "^linkerd.*"
action: drop
grafana:
enabled: true
adminPassword: Adm1nAdm1n
serviceAccount:
create: true
name: grafana-sa
resources: null
deploymentStrategy:
type: Recreate # Required when using a PVC
persistence:
type: pvc
enabled: true
accessModes: ["ReadWriteOnce"]
size: 1Gi
sidecar:
alerts:
searchNamespace: ALL
dashboards:
searchNamespace: ALL
grafana.ini:
server:
domain: grafana.example.com # Ensure to use the correct domain / Will be used for Ingress
serviceMonitor:
enabled: true
labels:
release: monitor
alerting:
policies.yaml:
apiVersion: 1
policies:
- orgId: 1
receiver: external-alertmanager
group_by:
- grafana_folder
- alertname
contactpoints.yaml:
apiVersion: 1
contactPoints:
- orgId: 1
name: external-alertmanager
receivers:
- uid: external_alertmanager_uid
type: prometheus-alertmanager
disableResolveMessage: false
settings:
url: http://monitor-alertmanager.observability.svc:9093
datasources:
datasources.yaml:
apiVersion: 1
datasources:
- name: Tempo Remote TNS
type: tempo
uid: tempo_remote_tns_ds
access: proxy
url: http://tempo-query-frontend.tempo.svc:3100
isDefault: false
editable: true
jsonData:
lokiSearch:
datasourceUid: loki_remote_tns_ds
nodeGraph:
enabled: true
serviceMap:
datasourceUid: mimir_remote_tns_ds
tracesToLogs:
datasourceUid: loki_remote_tns_ds
httpHeaderName1: X-Scope-OrgID
httpMethod: POST
secureJsonData:
httpHeaderValue1: remote01
- name: Loki Remote TNS
type: loki
uid: loki_remote_tns_ds
access: proxy
url: http://loki-gateway.loki.svc
isDefault: false
editable: true
jsonData:
derivedFields:
- name: TraceID
datasourceUid: tempo_remote_tns_ds
matcherRegex: traceID=(\w+)
url: $${__value.raw}
httpHeaderName1: X-Scope-OrgID
httpMethod: POST
secureJsonData:
httpHeaderValue1: remote01
- name: Mimir Remote TNS
type: prometheus
uid: mimir_remote_tns_ds
isDefault: false
editable: true
access: proxy
url: http://mimir-gateway.mimir.svc/prometheus
jsonData:
httpHeaderName1: X-Scope-OrgID
httpMethod: POST
secureJsonData:
httpHeaderValue1: remote01
- name: Tempo Remote OTEL
type: tempo
uid: tempo_remote_otel_ds
access: proxy
url: http://tempo-query-frontend.tempo.svc:3100
isDefault: false
editable: true
jsonData:
lokiSearch:
datasourceUid: loki_remote_otel_ds
nodeGraph:
enabled: true
serviceMap:
datasourceUid: mimir_remote_otel_ds
tracesToLogs:
datasourceUid: loki_remote_otel_ds
httpHeaderName1: X-Scope-OrgID
httpMethod: POST
secureJsonData:
httpHeaderValue1: remote02
- name: Loki Remote OTEL
type: loki
uid: loki_remote_otel_ds
access: proxy
url: http://loki-gateway.loki.svc
isDefault: false
editable: true
jsonData:
derivedFields:
- name: TraceID
datasourceUid: tempo_remote_otel_ds
matcherRegex: traceID=(\w+)
url: $${__value.raw}
httpHeaderName1: X-Scope-OrgID
httpMethod: POST
secureJsonData:
httpHeaderValue1: remote02
- name: Mimir Remote OTEL
type: prometheus
uid: mimir_remote_otel_ds
isDefault: false
editable: true
access: proxy
url: http://mimir-gateway.mimir.svc/prometheus
jsonData:
httpHeaderName1: X-Scope-OrgID
httpMethod: POST
secureJsonData:
httpHeaderValue1: remote02
- name: Tempo Local
type: tempo
uid: tempo_ds
access: proxy
url: http://tempo-query-frontend.tempo.svc:3100
isDefault: false
editable: true
jsonData:
lokiSearch:
datasourceUid: loki_ds
nodeGraph:
enabled: true
serviceMap:
datasourceUid: mimir_ds
tracesToLogs:
datasourceUid: loki_ds
httpHeaderName1: X-Scope-OrgID
httpMethod: POST
secureJsonData:
httpHeaderValue1: _local
- name: Loki Local
type: loki
uid: loki_ds
access: proxy
url: http://loki-gateway.loki.svc
isDefault: false
editable: true
jsonData:
derivedFields:
- name: TraceID
datasourceUid: tempo_ds # Might not work
matcherRegex: traceID=(\w+)
url: $${__value.raw}
httpHeaderName1: X-Scope-OrgID
httpMethod: POST
secureJsonData:
httpHeaderValue1: _local
- name: Mimir Local
type: prometheus
uid: mimir_ds
isDefault: false
editable: true
access: proxy
url: http://mimir-gateway.mimir.svc/prometheus
jsonData:
httpHeaderName1: X-Scope-OrgID
httpMethod: POST
secureJsonData:
httpHeaderValue1: _local
dashboardProviders:
dashboardproviders.yaml:
apiVersion: 1
providers:
- name: 'default'
orgId: 1
folder: ''
type: file
disableDeletion: false
editable: true
options:
path: /var/lib/grafana/dashboards/default
dashboards:
default:
# Linkerd Dashboards
# All these charts are hosted at https://grafana.com/grafana/dashboards/{id}
# All of them tested on Grafana 7.1 and need a scrape interval of 10 seconds.
linkerd-top-line:
gnetId: 15474
revision: 3
datasource: prometheus
linkerd-health:
gnetId: 15486
revision: 2
datasource: prometheus
linkerd-kubernetes:
gnetId: 15479
revision: 2
datasource: prometheus
linkerd-namespace:
gnetId: 15478
revision: 2
datasource: prometheus
linkerd-deployment:
gnetId: 15475
revision: 5
datasource: prometheus
linkerd-pod:
gnetId: 15477
revision: 2
datasource: prometheus
linkerd-service:
gnetId: 15480
revision: 2
datasource: prometheus
linkerd-route:
gnetId: 15481
revision: 2
datasource: prometheus
linkerd-authority:
gnetId: 15482
revision: 2
datasource: prometheus
linkerd-cronjob:
gnetId: 15483
revision: 2
datasource: prometheus
linkerd-job:
gnetId: 15487
revision: 2
datasource: prometheus
linkerd-daemonset:
gnetId: 15484
revision: 2
datasource: prometheus
linkerd-replicaset:
gnetId: 15491
revision: 2
datasource: prometheus
linkerd-statefulset:
gnetId: 15493
revision: 2
datasource: prometheus
linkerd-replicationcontroller:
gnetId: 15492
revision: 2
datasource: prometheus
linkerd-prometheus:
gnetId: 15489
revision: 2
datasource: prometheus
linkerd-prometheus-benchmark:
gnetId: 15490
revision: 2
datasource: prometheus
linkerd-multicluster:
gnetId: 15488
revision: 2
datasource: prometheus
# Istio Dashboards
istio-control-plane:
gnetId: 7645
revision: 231
datasource: prometheus
istio-mesh:
gnetId: 7639
revision: 231
datasource: prometheus
istio-service:
gnetId: 7636
revision: 231
datasource: prometheus
istio-workload:
gnetId: 7630
revision: 231
datasource: prometheus
istio-performance:
gnetId: 11829
revision: 231
datasource: prometheus