-
-
Save leopard627/01295e4780836ee85d860d511cfed042 to your computer and use it in GitHub Desktop.
prometheus on swarm (2)
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: 30s | |
evaluation_interval: 30s | |
external_labels: | |
monitor: "prometheus-swarm" | |
rule_files: | |
scrape_configs: | |
- job_name: 'prometheus' | |
dns_sd_configs: | |
- names: | |
- 'tasks.prometheus' | |
type: 'A' | |
port: 9090 | |
- job_name: 'cadvisor' | |
dns_sd_configs: | |
- names: | |
- 'tasks.cadvisor' | |
type: 'A' | |
port: 8080 | |
- job_name: 'node-exporter' | |
dns_sd_configs: | |
- names: | |
- 'tasks.node-exporter' | |
type: 'A' | |
port: 9100 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment