I have been in DevOps related jobs for past 6 years dealing mainly with Kubernetes in AWS and on-premise as well. I spent quite a lot …
:date_long | 1 min Read
Grafana dashboard via curl
- do not forget to add “id: null”
- encapsulate to {“dashboard”: …}
curl -L \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-X POST \
-uadmin \
--data @/tmp/path/dashboards/dashboard.json \
http://hostname/grafana/api/dashboards/db