File tree 12 files changed +103
-0
lines changed
12 files changed +103
-0
lines changed Original file line number Diff line number Diff line change 4
4
* [ CHANGE] Removed dnssrvnoa resolution from block memcached (probably oversight) and moved back to simple dns resolution #164
5
5
* [ FEATURE] Support dynamic configuration of Ruler and AlertManager using sidecar #150
6
6
* [ ENHANCEMENT] Enable/Disable security & container security context #158
7
+ * [ ENHANCEMENT] ServiceMonitors: add options to configure metricRelabelings and relabelings #165
7
8
* [ BUGFIX] Fixed the default label used in pod affinity expression #162
8
9
* [ BUGFIX] Fix label and annotation overrides for services (thanks @kwangil-ha ) #164
9
10
* [ BUGFIX] Fix store gateway service name regression introduced in (#144 ) #166
Original file line number Diff line number Diff line change 27
27
{{- if .Values.alertmanager.serviceMonitor.scrapeTimeout }}
28
28
scrapeTimeout : {{ .Values.alertmanager.serviceMonitor.scrapeTimeout }}
29
29
{{- end }}
30
+ {{- if .Values.alertmanager.serviceMonitor.relabelings }}
31
+ relabelings :
32
+ {{- toYaml .Values.alertmanager.serviceMonitor.relabelings | nindent 4 }}
33
+ {{- end }}
34
+ {{- if .Values.alertmanager.serviceMonitor.metricRelabelings }}
35
+ metricRelabelings :
36
+ {{- toYaml .Values.alertmanager.serviceMonitor.metricRelabelings | nindent 4 }}
37
+ {{- end }}
30
38
{{- end }}
Original file line number Diff line number Diff line change 27
27
{{- if .Values.compactor.serviceMonitor.scrapeTimeout }}
28
28
scrapeTimeout : {{ .Values.compactor.serviceMonitor.scrapeTimeout }}
29
29
{{- end }}
30
+ {{- if .Values.compactor.serviceMonitor.relabelings }}
31
+ relabelings :
32
+ {{- toYaml .Values.compactor.serviceMonitor.relabelings | nindent 4 }}
33
+ {{- end }}
34
+ {{- if .Values.compactor.serviceMonitor.metricRelabelings }}
35
+ metricRelabelings :
36
+ {{- toYaml .Values.compactor.serviceMonitor.metricRelabelings | nindent 4 }}
37
+ {{- end }}
30
38
{{- end }}
Original file line number Diff line number Diff line change 27
27
{{- if .Values.configs.serviceMonitor.scrapeTimeout }}
28
28
scrapeTimeout : {{ .Values.configs.serviceMonitor.scrapeTimeout }}
29
29
{{- end }}
30
+ {{- if .Values.configs.serviceMonitor.relabelings }}
31
+ relabelings :
32
+ {{- toYaml .Values.configs.serviceMonitor.relabelings | nindent 4 }}
33
+ {{- end }}
34
+ {{- if .Values.configs.serviceMonitor.metricRelabelings }}
35
+ metricRelabelings :
36
+ {{- toYaml .Values.configs.serviceMonitor.metricRelabelings | nindent 4 }}
37
+ {{- end }}
30
38
{{- end }}
Original file line number Diff line number Diff line change 27
27
{{- if .Values.distributor.serviceMonitor.scrapeTimeout }}
28
28
scrapeTimeout : {{ .Values.distributor.serviceMonitor.scrapeTimeout }}
29
29
{{- end }}
30
+ {{- if .Values.distributor.serviceMonitor.relabelings }}
31
+ relabelings :
32
+ {{- toYaml .Values.distributor.serviceMonitor.relabelings | nindent 4 }}
33
+ {{- end }}
34
+ {{- if .Values.distributor.serviceMonitor.metricRelabelings }}
35
+ metricRelabelings :
36
+ {{- toYaml .Values.distributor.serviceMonitor.metricRelabelings | nindent 4 }}
37
+ {{- end }}
30
38
{{- end }}
Original file line number Diff line number Diff line change 27
27
{{- if .Values.ingester.serviceMonitor.scrapeTimeout }}
28
28
scrapeTimeout : {{ .Values.ingester.serviceMonitor.scrapeTimeout }}
29
29
{{- end }}
30
+ {{- if .Values.ingester.serviceMonitor.relabelings }}
31
+ relabelings :
32
+ {{- toYaml .Values.ingester.serviceMonitor.relabelings | nindent 4 }}
33
+ {{- end }}
34
+ {{- if .Values.ingester.serviceMonitor.metricRelabelings }}
35
+ metricRelabelings :
36
+ {{- toYaml .Values.ingester.serviceMonitor.metricRelabelings | nindent 4 }}
37
+ {{- end }}
30
38
{{- end }}
Original file line number Diff line number Diff line change 27
27
{{- if .Values.querier.serviceMonitor.scrapeTimeout }}
28
28
scrapeTimeout : {{ .Values.querier.serviceMonitor.scrapeTimeout }}
29
29
{{- end }}
30
+ {{- if .Values.querier.serviceMonitor.relabelings }}
31
+ relabelings :
32
+ {{- toYaml .Values.querier.serviceMonitor.relabelings | nindent 4 }}
33
+ {{- end }}
34
+ {{- if .Values.querier.serviceMonitor.metricRelabelings }}
35
+ metricRelabelings :
36
+ {{- toYaml .Values.querier.serviceMonitor.metricRelabelings | nindent 4 }}
37
+ {{- end }}
30
38
{{- end }}
Original file line number Diff line number Diff line change 27
27
{{- if .Values.query_frontend.serviceMonitor.scrapeTimeout }}
28
28
scrapeTimeout : {{ .Values.query_frontend.serviceMonitor.scrapeTimeout }}
29
29
{{- end }}
30
+ {{- if .Values.query_frontend.serviceMonitor.relabelings }}
31
+ relabelings :
32
+ {{- toYaml .Values.query_frontend.serviceMonitor.relabelings | nindent 4 }}
33
+ {{- end }}
34
+ {{- if .Values.query_frontend.serviceMonitor.metricRelabelings }}
35
+ metricRelabelings :
36
+ {{- toYaml .Values.query_frontend.serviceMonitor.metricRelabelings | nindent 4 }}
37
+ {{- end }}
30
38
{{- end }}
Original file line number Diff line number Diff line change 27
27
{{- if .Values.ruler.serviceMonitor.scrapeTimeout }}
28
28
scrapeTimeout : {{ .Values.ruler.serviceMonitor.scrapeTimeout }}
29
29
{{- end }}
30
+ {{- if .Values.ruler.serviceMonitor.relabelings }}
31
+ relabelings :
32
+ {{- toYaml .Values.ruler.serviceMonitor.relabelings | nindent 4 }}
33
+ {{- end }}
34
+ {{- if .Values.ruler.serviceMonitor.metricRelabelings }}
35
+ metricRelabelings :
36
+ {{- toYaml .Values.ruler.serviceMonitor.metricRelabelings | nindent 4 }}
37
+ {{- end }}
30
38
{{- end }}
Original file line number Diff line number Diff line change 27
27
{{- if .Values.store_gateway.serviceMonitor.scrapeTimeout }}
28
28
scrapeTimeout : {{ .Values.store_gateway.serviceMonitor.scrapeTimeout }}
29
29
{{- end }}
30
+ {{- if .Values.store_gateway.serviceMonitor.relabelings }}
31
+ relabelings :
32
+ {{- toYaml .Values.store_gateway.serviceMonitor.relabelings | nindent 4 }}
33
+ {{- end }}
34
+ {{- if .Values.store_gateway.serviceMonitor.metricRelabelings }}
35
+ metricRelabelings :
36
+ {{- toYaml .Values.store_gateway.serviceMonitor.metricRelabelings | nindent 4 }}
37
+ {{- end }}
30
38
{{- end }}
Original file line number Diff line number Diff line change 27
27
{{- if .Values.table_manager.serviceMonitor.scrapeTimeout }}
28
28
scrapeTimeout : {{ .Values.table_manager.serviceMonitor.scrapeTimeout }}
29
29
{{- end }}
30
+ {{- if .Values.table_manager.serviceMonitor.relabelings }}
31
+ relabelings :
32
+ {{- toYaml .Values.table_manager.serviceMonitor.relabelings | nindent 4 }}
33
+ {{- end }}
34
+ {{- if .Values.table_manager.serviceMonitor.metricRelabelings }}
35
+ metricRelabelings :
36
+ {{- toYaml .Values.table_manager.serviceMonitor.metricRelabelings | nindent 4 }}
37
+ {{- end }}
30
38
{{- end }}
Original file line number Diff line number Diff line change @@ -184,6 +184,8 @@ alertmanager:
184
184
serviceMonitor :
185
185
enabled : false
186
186
additionalLabels : {}
187
+ relabelings : []
188
+ metricRelabelings : []
187
189
188
190
resources : {}
189
191
# limits:
@@ -372,6 +374,8 @@ distributor:
372
374
serviceMonitor :
373
375
enabled : false
374
376
additionalLabels : {}
377
+ relabelings : []
378
+ metricRelabelings : []
375
379
376
380
resources : {}
377
381
# limits:
@@ -466,6 +470,8 @@ ingester:
466
470
serviceMonitor :
467
471
enabled : false
468
472
additionalLabels : {}
473
+ relabelings : []
474
+ metricRelabelings : []
469
475
470
476
resources : {}
471
477
# limits:
@@ -600,6 +606,8 @@ ruler:
600
606
serviceMonitor :
601
607
enabled : false
602
608
additionalLabels : {}
609
+ relabelings : []
610
+ metricRelabelings : []
603
611
604
612
resources : {}
605
613
# limits:
@@ -734,6 +742,8 @@ querier:
734
742
serviceMonitor :
735
743
enabled : false
736
744
additionalLabels : {}
745
+ relabelings : []
746
+ metricRelabelings : []
737
747
738
748
resources : {}
739
749
# limits:
@@ -822,6 +832,8 @@ query_frontend:
822
832
serviceMonitor :
823
833
enabled : false
824
834
additionalLabels : {}
835
+ relabelings : []
836
+ metricRelabelings : []
825
837
826
838
resources : {}
827
839
# limits:
@@ -909,6 +921,8 @@ table_manager:
909
921
serviceMonitor :
910
922
enabled : false
911
923
additionalLabels : {}
924
+ relabelings : []
925
+ metricRelabelings : []
912
926
913
927
resources : {}
914
928
# limits:
@@ -986,6 +1000,8 @@ configs:
986
1000
serviceMonitor :
987
1001
enabled : false
988
1002
additionalLabels : {}
1003
+ relabelings : []
1004
+ metricRelabelings : []
989
1005
990
1006
resources : {}
991
1007
# limits:
@@ -1075,6 +1091,8 @@ nginx:
1075
1091
serviceMonitor :
1076
1092
enabled : false
1077
1093
additionalLabels : {}
1094
+ relabelings : []
1095
+ metricRelabelings : []
1078
1096
1079
1097
resources : {}
1080
1098
# limits:
@@ -1151,6 +1169,8 @@ store_gateway:
1151
1169
serviceMonitor :
1152
1170
enabled : false
1153
1171
additionalLabels : {}
1172
+ relabelings : []
1173
+ metricRelabelings : []
1154
1174
1155
1175
resources : {}
1156
1176
# limits:
@@ -1275,6 +1295,8 @@ compactor:
1275
1295
serviceMonitor :
1276
1296
enabled : false
1277
1297
additionalLabels : {}
1298
+ relabelings : []
1299
+ metricRelabelings : []
1278
1300
1279
1301
resources : {}
1280
1302
# limits:
You can’t perform that action at this time.
0 commit comments