bugfix/fix-longterm (#697)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Updated the remote write configuration to support multiple endpoints, allowing data ingestion from both short-term and long-term services for improved flexibility. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Signed-off-by: kklinch0 <kklinch0@gmail.com>
This commit is contained in:
parent
0cb9e72f99
commit
a2af07d1dc
2 changed files with 7 additions and 2 deletions
|
|
@ -10,7 +10,10 @@ spec:
|
|||
promscrape.streamParse: "true"
|
||||
promscrape.maxScrapeSize: 32MB
|
||||
remoteWrite:
|
||||
- url: {{ .Values.vmagent.remoteWrite.url | quote }}
|
||||
{{- range .Values.vmagent.remoteWrite.urls }}
|
||||
- url: {{ . | quote }}
|
||||
{{- end }}
|
||||
|
||||
scrapeInterval: 30s
|
||||
selectAllByDefault: true
|
||||
additionalScrapeConfigs:
|
||||
|
|
|
|||
|
|
@ -306,7 +306,9 @@ vmagent:
|
|||
cluster: cozystack
|
||||
tenant: tenant-root
|
||||
remoteWrite:
|
||||
url: http://vminsert-shortterm.tenant-root.svc:8480/insert/0/prometheus
|
||||
urls:
|
||||
- http://vminsert-shortterm.tenant-root.svc:8480/insert/0/prometheus
|
||||
- http://vminsert-longterm.tenant-root.svc:8480/insert/0/prometheus
|
||||
|
||||
fluent-bit:
|
||||
readinessProbe:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue