summaryrefslogtreecommitdiffstats
path: root/monitor/monitoring.sh
diff options
context:
space:
mode:
authorRutuja Surve <rutuja.r.surve@gmail.com>2017-09-21 13:35:34 -0400
committerRutuja Surve <rutuja.r.surve@gmail.com>2017-10-20 05:56:35 -0400
commit32a1ab12db4b85bde421465fec5bfb7e15f9ca38 (patch)
tree9ace949380c7b42a6a9f8a900e17f45a2544a858 /monitor/monitoring.sh
parentad12c5707ac1191063af5cd33d54dd30ff649787 (diff)
Datasource and Dashboard automation script
JIRA: BOTTLENECK-180 Automated creation of Prometheus datasource and dashboard for Grafana Change-Id: Id1e0323f74a0587b0fe3c80ba7a39843893f00ec Signed-off-by: Rutuja Surve <rutuja.r.surve@gmail.com>
Diffstat (limited to 'monitor/monitoring.sh')
-rw-r--r--monitor/monitoring.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/monitor/monitoring.sh b/monitor/monitoring.sh
index 8ad388a3..a4d404ce 100644
--- a/monitor/monitoring.sh
+++ b/monitor/monitoring.sh
@@ -42,7 +42,8 @@ sudo docker run --name bottlenecks-prometheus \
-v ${MONITOR_CONFIG}/prometheus.yaml:/etc/prometheus/prometheus.yml \
prom/prometheus
-$ Grafana
+# Grafana
sudo docker run --name bottlenecks-grafana \
-d -p 3000:3000 \
+ -v ${GRAFANA}/config/grafana.ini:/etc/grafana/grafana.ini \
grafana/grafana