Skip to content

Instantly share code, notes, and snippets.

@hagen1778
Created October 23, 2023 07:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hagen1778/b073e80374d5b422a9d7687c5274e5ee to your computer and use it in GitHub Desktop.
Save hagen1778/b073e80374d5b422a9d7687c5274e5ee to your computer and use it in GitHub Desktop.
RW config to send data to multiple destinations
remote_write:
- url: http://<victoriametrics-prod>:8428/api/v1/write
write_relabel_configs:
- source_labels: [env]
regex: "dev"
action: drop
- url: http://<victoriametrics-dev>:8428/api/v1/write
write_relabel_configs:
- source_labels: [env]
regex: "prod"
action: drop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment