X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=blueprints%2Fiotgateway%2Fscripts%2Fprometheus.sh;h=d12f5e386bc95a32b44ee83244e4b25f3449c0e3;hb=49b2a10b484a7da1da41c89ea0c986c80b2ba266;hp=f2a3c17c4cf79111bbbfdbfe9aeef949df4fb9d1;hpb=2c97a07953c45a070ad79eaa185d505a32e4c695;p=eliot.git diff --git a/blueprints/iotgateway/scripts/prometheus.sh b/blueprints/iotgateway/scripts/prometheus.sh index f2a3c17..d12f5e3 100755 --- a/blueprints/iotgateway/scripts/prometheus.sh +++ b/blueprints/iotgateway/scripts/prometheus.sh @@ -12,6 +12,11 @@ PROMETHEUS_HOST_PORT="9090" PROMETHEUS_CONTAINTER_PORT="9090" #cp ci_management/prometheus.yml $HOME + +echo "**********************************************************************" +echo "Prometheus setup ----------------------------------------------STARTED" + + source generatePromeyml.sh if [ ! -d "/etc/prometheus" ]; then sudo mkdir /etc/prometheus @@ -21,3 +26,6 @@ sudo docker run -p ${PROMETHEUS_HOST_PORT}:${PROMETHEUS_CONTAINTER_PORT} \ -v ~/prometheus.yml:/etc/prometheus/prometheus.yml \ -d prom/prometheus \ --config.file=/etc/prometheus/prometheus.yml + +echo "Prometheus setup ----------------------------------------------SUCCESS" +echo "**********************************************************************"