import-dashboards-raw

command
Version: v0.0.0-...-c794db2 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2021 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!

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL