Skip to content

Instantly share code, notes, and snippets.

@zot24
Created June 18, 2019 22:45
Show Gist options
  • Save zot24/8d24ea59de5886f81d9cd82b1705127d to your computer and use it in GitHub Desktop.
Save zot24/8d24ea59de5886f81d9cd82b1705127d to your computer and use it in GitHub Desktop.
relabel_configs:
- source_labels: [__address__]
regex: "([^:]+):\\d+"
target_label: instance
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment