import-dashboards-raw

command
v0.0.0-...-92c92cc Latest Latest
Warning

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

Go to latest
Published: May 27, 2019 License: Apache-2.0 Imports: 6 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