grafana-wizzy / wizzy

Manage & automate Grafana with easy wizzy
https://grafana-wizzy.com
Apache License 2.0
470 stars 60 forks source link

wizzy doesn't import all dashboards in Grafana v7.0.1 #180

Open Atomicbeast101 opened 4 years ago

Atomicbeast101 commented 4 years ago

Setup

Server1: Grafana v7.0.0 Server2: Grafana v7.0.1

Problem

Running wizzy export dashboards on server1 exports all 340 dashboards but whenever I run wizzy import dashboards on server2, only 31 dashboards got imported instead. No errors were shown at all. Could this be due to new version of Grafana?

Tikam02 commented 4 years ago

+1 Grafana v7.0.1 not authorizing wizzy Screen Shot 2020-06-17 at 8 58 04 PM

xuanyuanaosheng commented 4 years ago

I use the grafana v7.0.3 and wizzy version 0.7.0. Now I use the username and the password to auth.

Have two question:

  1. use the wizzy import dashboards, Only import the main org dashboard, the other org can not import.

  2. how to use the API Keys to import or export the data?

Sytten commented 4 years ago

So my plan was to rewrite the whole thing since most of wizzy is currently broken anyway. I think I can give it it a shot this weekend. I wanted to switch to golang to provide a single binary instead of having to download node and we could also reuse models from the grafana backend code. Thoughts?

xuanyuanaosheng commented 4 years ago

@Sytten Good idea. This tools is awesome.

  1. can manage multi instance of grafana
  2. auto or regularly backup
  3. regularly restore
  4. manager different element like org, team, dashboard .etc
  5. panel manager
  6. you can search grafana issues to get idears. like: https://github.com/grafana/grafana/issues/4650
xuanyuanaosheng commented 4 years ago

@Sytten Looking forward to new tools

anthosz commented 4 years ago

Hi,

Same issue with Grafana v7.0.5, only "public" dashboard are imported (api key is used)

Best regards,

xuanyuanaosheng commented 4 years ago

@Sytten Any update?

Sytten commented 4 years ago

I opened the new repository for v2: https://github.com/grafana-wizzy/wizzy2 I will slowly add commands to it, for now its just a bare CLI app.