wizzy
wizzy copied to clipboard
Cannot list imported panels
I am experimenting difficulties displaying existing panels of imported dashboards.
Importing and setting context:
➜ wizzy import dashboard general
✔ dashboards directory already exists.
✔ general dashboard saved successfully under dashboards directory.
✔ Dashboard general import successful.
➜ wizzy set context dashboard general
✔ context:dashboard updated successfully.
✔ conf file saved.
This is an excerpt of dashboards/general.json
.
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"editable": true,
"gnetId": null,
"graphTooltip": 0,
"iteration": 1519325791911,
"links": [],
"panels": [
{
"gridPos": {
"h": 6,
"w": 12,
"x": 0,
"y": 0
},
"id": 18,
"limit": 10,
"links": [],
The dashboard has two fixed panels and a repeating row with four panels within. None is listed by wizzy list panels
command.
➜ wizzy list panels datasource Overol
Output:
Panels:
✔ Total panels with datasource Overol: 0
✔ Panels with datasource Overol listed successfully
This is my data sources summary.
➜ wizzy summarize datasources
Output:
┌──────────────────────────────┬──────────────────────────────┐
│ Datasource Name │ Datasource Type │
├──────────────────────────────┼──────────────────────────────┤
│ Overol │ mysql │
└──────────────────────────────┴──────────────────────────────┘
✔ Total datasources: 1
✔ Showed datasources summary successfully.
- Grafana version v5.0.0-beta3 (commit: 5e33a52)
- Wizzy version 0.6.0 (built from source)
- Node version v9.6.0