Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vmagent: added remoteWrite param as a replacement for remoteWriteUrls #1532

Merged
merged 1 commit into from
Sep 27, 2024

Conversation

AndrewChubatiuk
Copy link
Contributor

@AndrewChubatiuk AndrewChubatiuk commented Sep 25, 2024

removed multiTenantUrls as it's deprecated in VictoriaMetrics 1.102.0
added remoteWrite param, which replaces remoteWriteUrlsand besides addingremoteWrite.* prefixed cmd flags to vmagent process also generates config map with content of values if values types are array or map. e.g:

remoteWrite:
 - url: http://localhost/api/v1/write
   urlRelabelConfig:
    - action: keep
      source_labels: [env]
      regex: "dev"

--remoteWrite.url=http://localhost/api/v1/write and --remoteWrite.urlRelabelConfig=/config/rw/0-urlRelabelConfig.yaml flags will be added together with config map, which contains

data:
  0-urlRelabelConfig.yaml: |
     - action: keep
       source_labels: [env]
       regex: "dev"

which is mounted to a pod

@AndrewChubatiuk AndrewChubatiuk linked an issue Sep 26, 2024 that may be closed by this pull request
@AndrewChubatiuk AndrewChubatiuk merged commit 9c14c2f into master Sep 27, 2024
8 checks passed
@AndrewChubatiuk AndrewChubatiuk deleted the vmagent-remote-write-param branch September 27, 2024 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
agent vmagent helm chart related issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Splitting data streams with vmagent helm chart
2 participants