Grafana Dashboard Import Tool¶
TrueWatch currently provides a node script to convert Grafana dashboard templates into TrueWatch dashboard templates.
Configuration¶
Prerequisites¶
You need to have nodejs
and npm
installed on your system, with the following version requirements:
- node >= 12.7.0
- npm >= 6.10.0
Usage¶
-
- Install the script
-
- View the script usage help
The specific script execution command is as follows:
-d
: The directory location of the Grafana JSON file, for example: ./grafana/json/grafana.json
-o
: The output location of the TrueWatch dashboard JSON file, for example: ./guance/json/guance.json
-
- Execute the conversion command
-
- Import the converted
json
file in the TrueWatch console
- Import the converted
-
- Complete