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,7 @@ vmagent:
178178 urls :
179179 - http://vminsert-shortterm:8480/insert/0/prometheus
180180 - http://vminsert-longterm:8480/insert/0/prometheus
181+ # # inlineScrapeConfig: |
182+ # # - job_name: "custom"
183+ # # static_configs:
184+ # # - targets: ["my-service:9090"]
Original file line number Diff line number Diff line change 2121
2222 scrapeInterval : 30s
2323 selectAllByDefault : false
24+ {{- with .Values.vmagent.inlineScrapeConfig }}
25+ inlineScrapeConfig : |
26+ {{- . | 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,8 @@ 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+ # # inlineScrapeConfig: |
84+ # # - job_name: "custom"
85+ # # static_configs:
86+ # # - targets: ["my-service:9090"]
You can’t perform that action at this time.
0 commit comments