Skip to content

Commit

Permalink
Update Prometheus to v2.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanprodan committed Nov 14, 2018
1 parent 1e50cf5 commit 63b6add
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 20 deletions.
16 changes: 8 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ after_success:
echo "PR build, skipping Docker Hub push";
else
docker login -u "$DOCKER_USER" -p "$DOCKER_PASS";
docker tag stefanprodan/swarmprom-prometheus:$TRAVIS_BUILD_NUMBER stefanprodan/swarmprom-prometheus:v2.2.0-rc.0;
docker push stefanprodan/swarmprom-prometheus:v2.2.0-rc.0;
docker tag stefanprodan/swarmprom-node-exporter:$TRAVIS_BUILD_NUMBER stefanprodan/swarmprom-node-exporter:v0.15.2;
docker push stefanprodan/swarmprom-node-exporter:v0.15.2;
docker tag stefanprodan/swarmprom-alertmanager:$TRAVIS_BUILD_NUMBER stefanprodan/swarmprom-alertmanager:v0.14.0;
docker push stefanprodan/swarmprom-alertmanager:v0.14.0;
docker tag stefanprodan/swarmprom-grafana:$TRAVIS_BUILD_NUMBER stefanprodan/swarmprom-grafana:5.0.1;
docker push stefanprodan/swarmprom-grafana:5.0.1;
docker tag stefanprodan/swarmprom-prometheus:$TRAVIS_BUILD_NUMBER stefanprodan/swarmprom-prometheus:v2.5.0;
docker push stefanprodan/swarmprom-prometheus:v2.5.0;
docker tag stefanprodan/swarmprom-node-exporter:$TRAVIS_BUILD_NUMBER stefanprodan/swarmprom-node-exporter:v0.16.0;
docker push stefanprodan/swarmprom-node-exporter:v0.16.0;
docker tag stefanprodan/swarmprom-alertmanager:$TRAVIS_BUILD_NUMBER stefanprodan/swarmprom-alertmanager:v0.15.3;
docker push stefanprodan/swarmprom-alertmanager:v0.15.3;
docker tag stefanprodan/swarmprom-grafana:$TRAVIS_BUILD_NUMBER stefanprodan/swarmprom-grafana:5.3.4;
docker push stefanprodan/swarmprom-grafana:5.3.4;
fi
2 changes: 1 addition & 1 deletion alertmanager/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM prom/alertmanager:v0.14.0
FROM prom/alertmanager:v0.15.3

COPY conf /etc/alertmanager/

Expand Down
7 changes: 1 addition & 6 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,6 @@ services:
- '--path.procfs=/host/proc'
- '--collector.textfile.directory=/etc/node-exporter/'
- '--collector.filesystem.ignored-mount-points=^/(sys|proc|dev|host|etc)($$|/)'
# no collectors are explicitely enabled here, because the defaults are just fine,
# see https://github.com/prometheus/node_exporter
# disable ipvs collector because it barfs the node-exporter logs full with errors on my centos 7 vm's
- '--no-collector.ipvs'
deploy:
mode: global
Expand All @@ -150,13 +147,11 @@ services:
memory: 64M

prometheus:
image: stefanprodan/swarmprom-prometheus:v2.2.0-rc.0
image: stefanprodan/swarmprom-prometheus:v2.5.0
networks:
- net
command:
- '--config.file=/etc/prometheus/prometheus.yml'
- '--web.console.libraries=/etc/prometheus/console_libraries'
- '--web.console.templates=/etc/prometheus/consoles'
- '--storage.tsdb.path=/prometheus'
- '--storage.tsdb.retention=24h'
volumes:
Expand Down
2 changes: 1 addition & 1 deletion grafana/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM grafana/grafana:5.1.0
FROM grafana/grafana:5.3.4
# https://hub.docker.com/r/grafana/grafana/tags/

COPY datasources /etc/grafana/provisioning/datasources/
Expand Down
6 changes: 2 additions & 4 deletions prometheus/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM prom/prometheus:v2.2.0-rc.0
FROM prom/prometheus:v2.5.0
# https://hub.docker.com/r/prom/prometheus/tags/

ENV WEAVE_TOKEN=none
Expand All @@ -7,6 +7,4 @@ COPY conf /etc/prometheus/

ENTRYPOINT [ "/etc/prometheus/docker-entrypoint.sh" ]
CMD [ "--config.file=/etc/prometheus/prometheus.yml", \
"--storage.tsdb.path=/prometheus", \
"--web.console.libraries=/etc/prometheus/console_libraries", \
"--web.console.templates=/etc/prometheus/consoles" ]
"--storage.tsdb.path=/prometheus" ]

0 comments on commit 63b6add

Please sign in to comment.