Updated to work with Prometheus 0.17 and DNS based service discovery

This commit is contained in:
Edward Marshall 2016-03-04 19:25:35 +00:00
parent 8c75921457
commit 7b1a8ef5a3
3 changed files with 13 additions and 16 deletions

View File

@ -3,6 +3,7 @@ ranch-eye:
- 9104:9104/tcp
labels:
io.rancher.scheduler.global: 'true'
io.rancher.container.dns: true
tty: true
image: rucknar/ranch-eye:01
stdin_open: true
@ -13,6 +14,7 @@ node-exporter:
- 9100:9100
labels:
io.rancher.scheduler.global: 'true'
io.rancher.container.dns: true
tty: true
image: prom/node-exporter:latest
stdin_open: true
@ -20,16 +22,13 @@ node-exporter:
prom-conf:
tty: true
labels:
io.rancher.container.pull_image: always
image: rucknar/prom-conf:02
command: /bin/sh -c "/usr//bin/confd -onetime -backend rancher -prefix /2015-12-19 && cat"
image: rucknar/prom-conf:08
volumes:
- /etc/prom-conf/
prometheus:
tty: true
image: prom/prometheus:latest
image: prom/prometheus:0.17.0
command: -alertmanager.url=http://alertmanager:9093 -config.file=/etc/prom-conf/prometheus.yml -storage.local.path=/prometheus -web.console.libraries=/etc/prometheus/console_libraries -web.console.templates=/etc/prometheus/consoles
ports:
- 9090:9090
@ -42,15 +41,6 @@ prometheus:
- node-exporter:node-exporter
- rancher-api-integration:rancher-api-integration
graf-db:
tty: true
image: rucknar/graf-db:01
labels:
io.rancher.container.pull_image: always
command: cat
volumes:
- /var/lib/grafana/
influxdb:
image: tutum/influxdb:0.10
ports:
@ -63,6 +53,13 @@ influxdb:
- GRAPHITE_DB=rancher
- GRAPHITE_BINDING=:2003
graf-db:
tty: true
image: rucknar/graf-db:02
command: cat
volumes:
- /var/lib/grafana/
grafana:
tty: true
image: grafana/grafana:2.6.0

View File

@ -1,6 +1,6 @@
.catalog:
name: "Prometheus"
version: "1.0.2"
version: "1.0.3"
description: "Prometheus Monitoring Solution"
uuid: prometheus-1
minimum_rancher_version: v0.56.0

View File

@ -1,5 +1,5 @@
name: Prometheus
description: |
Prometheus and friends, auto-discovering monitoring solution for Rancher deployments.
version: 1.0.2
version: 1.0.3
category: Monitoring