X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=monitor%2Fautomated-dashboard-datasource.py;h=69f3ebe6f3cdf4a696ad7efcc44b5259a5a3b778;hb=4b89af12f547bd8eebc01572e1b9a02f89c5fa7c;hp=1e1b42f7cabf0068ec01eaa29416abd45ad46221;hpb=5053b1c137d1d22678a416abbaf4dd4cce3e5285;p=bottlenecks.git 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')