summaryrefslogtreecommitdiffstats
path: root/monitor/automated-dashboard-datasource.py
diff options
context:
space:
mode:
Diffstat (limited to 'monitor/automated-dashboard-datasource.py')
-rw-r--r--monitor/automated-dashboard-datasource.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/monitor/automated-dashboard-datasource.py b/monitor/automated-dashboard-datasource.py
index 1e1b42f7..69f3ebe6 100644
--- a/monitor/automated-dashboard-datasource.py
+++ b/monitor/automated-dashboard-datasource.py
@@ -63,7 +63,9 @@ def post(url, data):
ip_address = socket.gethostbyname(socket.gethostname())
+_create_data_source(ip_address, 3000)
_create_dashboard(ip_address, 3000, '/var/lib/grafana/' +
'dashboards/' +
'prometheus-system_rev1.json')
-_create_data_source(ip_address, 3000)
+_create_dashboard(ip_address, 3000,
+ 'prototype_dashboard_collapsible.json')