Created
February 1, 2018 08:28
-
-
Save kelein/555799e9beeee5c173690c269c597d09 to your computer and use it in GitHub Desktop.
Prometheus Horizontal Sharding Configuration
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
global: | |
scrape_interval: 15s | |
external_labels: | |
monitor: 'prome-master' | |
scrape_configs: | |
- job_name: federate | |
honor_labels: true | |
metrics_path: /federate | |
params: | |
'match[]': | |
- '{__name__=~".+"}' | |
static_configs: | |
- targets: [ | |
"prome-salve-01:9090", | |
"prome-slave-02:9090", | |
"prome-slave-03:9090" | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment