Last active
June 14, 2017 15:58
-
-
Save dmage/ec561bae6eb5224f6c2661119eed6cb3 to your computer and use it in GitHub Desktop.
This file contains hidden or 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: 5s | |
| evaluation_interval: 5s | |
| scrape_configs: | |
| - job_name: 'prometheus' | |
| static_configs: | |
| - targets: ['localhost:9090'] | |
| - job_name: 'cadvisor' | |
| static_configs: | |
| - targets: ['cadvisor:8080'] | |
| - job_name: 'docker-registry' | |
| metrics_path: /extensions/v2/metrics | |
| bearer_token: mysecret | |
| kubernetes_sd_configs: | |
| - role: pod | |
| namespaces: | |
| names: | |
| - default | |
| relabel_configs: | |
| - source_labels: [__meta_kubernetes_pod_label_docker_registry] | |
| regex: default | |
| action: keep |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment