Grafana Dashboard Import¶
Guance Cloud provides a Node.js
script to convert Grafana dashboard JSON templates into Guance Cloud dashboard JSON templates.
Configuration¶
Prerequisites¶
Ensure that nodejs
and npm
are installed on the system with the following version requirements:
- node >= 12.7.0
- npm >= 6.10.0
Usage¶
- 1 Install the script
- 2 View the script usage help
The specific script commands are:
-d
: Path to the Grafana JSON file, e.g.:./grafana/json/grafana.json
-
-o
: Output path for the Guance dashboard JSON file, e.g.:./guance/json/guance.json
-
3 Execute the conversion command
-
4 Import the converted JSON file in the Guance Cloud console.
-
5 Done.