1
0
mirror of https://github.com/jcwimer/docker-swarm-autoscaler synced 2026-05-18 10:34:45 +00:00

Changed naming

This commit is contained in:
2018-10-29 07:43:34 -04:00
parent 33c3b17a09
commit f4db193d57
6 changed files with 21 additions and 18 deletions

View File

@@ -0,0 +1,2 @@
FROM prom/prometheus
COPY prometheus.yml /etc/prometheus/prometheus.yml

View File

@@ -0,0 +1,18 @@
global:
scrape_interval: 30s
evaluation_interval: 30s
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