import-dashboards-raw

command
v1.0.14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 3, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

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!

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL