Commit 521fc242 authored by Karim El Aammari's avatar Karim El Aammari
Browse files

TODO

parent 2308fe53
......@@ -42,7 +42,8 @@ curl -X DELETE https://localhost:3000/api/datasources/name/InfluxDB -H "Accept:
curl -X POST https://localhost:3000/api/datasources -H "Accept: application/json" -H "Content-Type: application/json" -H "Authorization: Bearer $apitoken" --data "$json" --cacert $cacertpath 2> /dev/null
echo "Grafana datasources influx. "
# Dashboard
# Dashboard
# TODO DELETE old dashboards
curl -X POST https://localhost:3000/api/dashboards/db -H "Accept: application/json" -H "Content-Type: application/json" -H "Authorization: Bearer $apitoken" --data-binary "@$provision/config/dashboards/dash_production.json" --cacert $cacertpath 2> /dev/null
curl -X POST https://localhost:3000/api/dashboards/db -H "Accept: application/json" -H "Content-Type: application/json" -H "Authorization: Bearer $apitoken" --data-binary "@$provision/config/dashboards/dash_monitoring.json" --cacert $cacertpath 2> /dev/null
echo "Grafana dashboard. "
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment