Merge pull request #14 from Rucknar/master
Updated to make Prometheus config more dynamic
This commit is contained in:
commit
4f96956c2e
@ -3,6 +3,7 @@ ranch-eye:
|
|||||||
- 9104:9104/tcp
|
- 9104:9104/tcp
|
||||||
labels:
|
labels:
|
||||||
io.rancher.scheduler.global: 'true'
|
io.rancher.scheduler.global: 'true'
|
||||||
|
io.rancher.container.dns: true
|
||||||
tty: true
|
tty: true
|
||||||
image: rucknar/ranch-eye:01
|
image: rucknar/ranch-eye:01
|
||||||
stdin_open: true
|
stdin_open: true
|
||||||
@ -13,6 +14,7 @@ node-exporter:
|
|||||||
- 9100:9100
|
- 9100:9100
|
||||||
labels:
|
labels:
|
||||||
io.rancher.scheduler.global: 'true'
|
io.rancher.scheduler.global: 'true'
|
||||||
|
io.rancher.container.dns: true
|
||||||
tty: true
|
tty: true
|
||||||
image: prom/node-exporter:latest
|
image: prom/node-exporter:latest
|
||||||
stdin_open: true
|
stdin_open: true
|
||||||
@ -20,16 +22,13 @@ node-exporter:
|
|||||||
|
|
||||||
prom-conf:
|
prom-conf:
|
||||||
tty: true
|
tty: true
|
||||||
labels:
|
image: rucknar/prom-conf:08
|
||||||
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"
|
|
||||||
volumes:
|
volumes:
|
||||||
- /etc/prom-conf/
|
- /etc/prom-conf/
|
||||||
|
|
||||||
prometheus:
|
prometheus:
|
||||||
tty: true
|
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
|
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:
|
ports:
|
||||||
- 9090:9090
|
- 9090:9090
|
||||||
@ -42,15 +41,6 @@ prometheus:
|
|||||||
- node-exporter:node-exporter
|
- node-exporter:node-exporter
|
||||||
- rancher-api-integration:rancher-api-integration
|
- 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:
|
influxdb:
|
||||||
image: tutum/influxdb:0.10
|
image: tutum/influxdb:0.10
|
||||||
ports:
|
ports:
|
||||||
@ -63,6 +53,13 @@ influxdb:
|
|||||||
- GRAPHITE_DB=rancher
|
- GRAPHITE_DB=rancher
|
||||||
- GRAPHITE_BINDING=:2003
|
- GRAPHITE_BINDING=:2003
|
||||||
|
|
||||||
|
graf-db:
|
||||||
|
tty: true
|
||||||
|
image: rucknar/graf-db:02
|
||||||
|
command: cat
|
||||||
|
volumes:
|
||||||
|
- /var/lib/grafana/
|
||||||
|
|
||||||
grafana:
|
grafana:
|
||||||
tty: true
|
tty: true
|
||||||
image: grafana/grafana:2.6.0
|
image: grafana/grafana:2.6.0
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
.catalog:
|
.catalog:
|
||||||
name: "Prometheus"
|
name: "Prometheus"
|
||||||
version: "1.0.2"
|
version: "1.0.3"
|
||||||
description: "Prometheus Monitoring Solution"
|
description: "Prometheus Monitoring Solution"
|
||||||
uuid: prometheus-1
|
uuid: prometheus-1
|
||||||
minimum_rancher_version: v0.56.0
|
minimum_rancher_version: v0.56.0
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
name: Prometheus
|
name: Prometheus
|
||||||
description: |
|
description: |
|
||||||
Prometheus and friends, auto-discovering monitoring solution for Rancher deployments.
|
Prometheus and friends, auto-discovering monitoring solution for Rancher deployments.
|
||||||
version: 1.0.2
|
version: 1.0.3
|
||||||
category: Monitoring
|
category: Monitoring
|
||||||
|
Loading…
x
Reference in New Issue
Block a user