Documentation ¶
Overview ¶
This is a simple example of usage of Grafana sdk for importing dashboards from a bunch of JSON files (current dir used). This example uses SetRawDashboard() and doesn't unmarshal input JSONs.
You are can export dashboards with backup-dashboards utitity. NOTE: old dashboards with same names will be silently overrided!
Usage:
import-dashboards http://grafana.host:3000 api-key-string-here
You need get API key with Admin rights from your Grafana!
Click to show internal directories.
Click to hide internal directories.