Skip to content

Instantly share code, notes, and snippets.

@justinledwards
Created January 29, 2020 20: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 justinledwards/16a972ed574032777801c173249ca32e to your computer and use it in GitHub Desktop.
Save justinledwards/16a972ed574032777801c173249ca32e to your computer and use it in GitHub Desktop.
Prometheus issue
relabel_configs:
- source_labels: [__address__]
target_label: instance
- source_labels: [address, port]
target_label: __address__
replacement: '${1}:${port}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment