Skip to content

Commit 669aeba

Browse files
pavithranprdementi
authored andcommitted
Update start-prometheus.sh
1 parent e1d728d commit 669aeba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/grafana/start-prometheus.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ chmod -R 777 *_volume
1717
mkdir -p provisioning/datasources
1818
cp automatic_prometheus.yml provisioning/datasources/automatic.yml
1919

20+
echo Downloading PCM dashboard
21+
2022
# check if argument is file, create the prometheus.yml accordingly
2123
if [ -f "$1" ]; then
2224
echo "creating prometheus.yml for hosts in targets file";
@@ -32,8 +34,6 @@ else
3234
curl -o grafana_volume/dashboards/pcm-dashboard.json $1/dashboard/prometheus
3335
fi
3436

35-
echo Downloading PCM dashboard
36-
3737
echo Starting prometheus
3838
docker run --name prometheus -d -p 9090:9090 -v $PWD/prometheus.yml:/etc/prometheus/prometheus.yml -v $PWD/prometheus_volume:/prometheus prom/prometheus
3939
echo Starting grafana

0 commit comments

Comments
 (0)