We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1d728d commit 669aebaCopy full SHA for 669aeba
scripts/grafana/start-prometheus.sh
@@ -17,6 +17,8 @@ chmod -R 777 *_volume
17
mkdir -p provisioning/datasources
18
cp automatic_prometheus.yml provisioning/datasources/automatic.yml
19
20
+echo Downloading PCM dashboard
21
+
22
# check if argument is file, create the prometheus.yml accordingly
23
if [ -f "$1" ]; then
24
echo "creating prometheus.yml for hosts in targets file";
@@ -32,8 +34,6 @@ else
32
34
curl -o grafana_volume/dashboards/pcm-dashboard.json $1/dashboard/prometheus
33
35
fi
36
-echo Downloading PCM dashboard
-
37
echo Starting prometheus
38
docker run --name prometheus -d -p 9090:9090 -v $PWD/prometheus.yml:/etc/prometheus/prometheus.yml -v $PWD/prometheus_volume:/prometheus prom/prometheus
39
echo Starting grafana
0 commit comments