File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -178,3 +178,6 @@ vmagent:
178178 urls :
179179 - http://vminsert-shortterm:8480/insert/0/prometheus
180180 - http://vminsert-longterm:8480/insert/0/prometheus
181+ # # additionalScrapeConfigs:
182+ # # name: my-secret
183+ # # key: scrape-configs.yaml
Original file line number Diff line number Diff line change 2121
2222 scrapeInterval : 30s
2323 selectAllByDefault : false
24+ {{- with .Values.vmagent.additionalScrapeConfigs }}
25+ additionalScrapeConfigs :
26+ {{- toYaml . | nindent 4 }}
27+ {{- end }}
2428 podScrapeNamespaceSelector :
2529 matchLabels :
2630 namespace.cozystack.io/monitoring : {{ .Release.Namespace }}
Original file line number Diff line number Diff line change @@ -79,4 +79,7 @@ vmagent:
7979 remoteWrite :
8080 urls :
8181 - http://vminsert-shortterm:8480/insert/0/prometheus
82- - http://vminsert-longterm:8480/insert/0/prometheus
82+ - http://vminsert-longterm:8480/insert/0/prometheus
83+ # # additionalScrapeConfigs:
84+ # # name: my-secret
85+ # # key: scrape-configs.yaml
You can’t perform that action at this time.
0 commit comments