Created
November 5, 2015 22:12
-
-
Save mattkanwisher/2346dc1c7c5baf8cbd7e to your computer and use it in GitHub Desktop.
prometheus_hashmod
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- source_labels: | |
- instance | |
modulus: 3 | |
target_label: __hash | |
action: hashmod | |
- source_labels: | |
- __hash | |
target_label: exporter | |
regex: "^2$" | |
action: keep |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- source_labels: | |
- __address | |
modulus: 3 | |
target_label: __hash | |
action: hashmod | |
- source_labels: | |
- __hash | |
target_label: instance | |
regex: "^2$" | |
action: keep |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment