mirror of
https://github.com/prometheus/prometheus
synced 2024-12-23 15:04:13 +00:00
682f949ab1
This takes the modulus of a hash of some labels. Combined with a keep relabel action, this allows for sharding of targets across multiple prometheus servers.
6 lines
108 B
YAML
6 lines
108 B
YAML
scrape_configs:
|
|
- job_name: prometheus
|
|
relabel_configs:
|
|
- regex: abcdef
|
|
action: hashmod
|