mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-30 07:59:40 -08: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
|