Barometer automated installation script for jump server
[bottlenecks.git] / monitor / automated-dashboard-datasource.py
index 1e1b42f..69f3ebe 100644 (file)
@@ -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')