Skip to content

Commit 5fed2e2

Browse files
committed
bugfix/fix-longterm
1 parent 0cb9e72 commit 5fed2e2

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

‎packages/system/monitoring-agents/templates/vmagent.yaml‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ spec:
1010
promscrape.streamParse: "true"
1111
promscrape.maxScrapeSize: 32MB
1212
remoteWrite:
13-
- url: {{ .Values.vmagent.remoteWrite.url | quote }}
13+
{{- range .Values.vmagent.remoteWrite.urls }}
14+
- url: {{ . | quote }}
15+
{{- end }}
16+
1417
scrapeInterval: 30s
1518
selectAllByDefault: true
1619
additionalScrapeConfigs:

‎packages/system/monitoring-agents/values.yaml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,9 @@ vmagent:
306306
cluster: cozystack
307307
tenant: tenant-root
308308
remoteWrite:
309-
url: http://vminsert-shortterm.tenant-root.svc:8480/insert/0/prometheus
309+
urls:
310+
- http://vminsert-shortterm.tenant-root.svc:8480/insert/0/prometheus
311+
- http://vminsert-longterm.tenant-root.svc:8480/insert/0/prometheus
310312

311313
fluent-bit:
312314
readinessProbe:

0 commit comments

Comments
 (0)