We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For the fun of it:
http://www.robustperception.io/scaling-and-federating-prometheus/ http://www.robustperception.io/life-of-a-label/
The text was updated successfully, but these errors were encountered:
#43 Relabel to deduplicate alerts
7f5ef95
Add shard label to all scraped metrics (#43)
90aff5c
global: external_labels: master: 1 scrape_interval: 1m scrape_timeout: 10s evaluation_interval: 10s rule_files: - /etc/prometheus/recording.rules - /etc/prometheus/alerting.rules alerting: alert_relabel_configs: - source_labels: [master] action: replace replacement: 'all' target_label: master scrape_configs: - job_name: 'federate' honor_labels: true metrics_path: /federate params: match[]: - '{master=~"2|3"}' static_configs: - targets: - 'master-2.cell-1.dub.xnood.com:9191' - 'master-3.cell-1.dub.xnood.com:9191' - job_name: 'prometheus' scrape_interval: 10s file_sd_configs: - files: - /etc/prometheus/targets/prometheus.yml - job_name: 'cadvisor' scrape_interval: 10s file_sd_configs: - files: - /etc/prometheus/targets/cadvisor.yml relabel_configs: - source_labels: [__address__] modulus: 3 target_label: __tmp_hash action: hashmod - source_labels: [__tmp_hash] regex: ^0$ action: keep - job_name: 'etcd' scrape_interval: 10s file_sd_configs: - files: - /etc/prometheus/targets/etcd.yml relabel_configs: - source_labels: [__address__] modulus: 3 target_label: __tmp_hash action: hashmod - source_labels: [__tmp_hash] regex: ^0$ action: keep - job_name: 'node' scrape_interval: 10s file_sd_configs: - files: - /etc/prometheus/targets/node.yml relabel_configs: - source_labels: [__address__] modulus: 3 target_label: __tmp_hash action: hashmod - source_labels: [__tmp_hash] regex: ^0$ action: keep - job_name: 'mesos' scrape_interval: 10s file_sd_configs: - files: - /etc/prometheus/targets/mesos.yml - job_name: 'haproxy' scrape_interval: 10s file_sd_configs: - files: - /etc/prometheus/targets/haproxy.yml - job_name: 'zookeeper' scrape_interval: 10s file_sd_configs: - files: - /etc/prometheus/targets/zookeeper.yml
Sorry, something went wrong.
h0tbird
No branches or pull requests
For the fun of it:
http://www.robustperception.io/scaling-and-federating-prometheus/
http://www.robustperception.io/life-of-a-label/
The text was updated successfully, but these errors were encountered: