-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
Since grafana 5 release, rows have become deprecated:
https://github.com/grafana/grafana/blob/master/CHANGELOG.md#new-dashboard-grid
So, grafcli crashes:
[/remote/host.example.com]> cd dashboard/
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/climb/core.py", line 56, in run
result = self.execute(*shlex.split(command))
File "/usr/local/lib/python3.5/dist-packages/climb/core.py", line 79, in execute
return self._commands.execute(command, **kwargs)
File "/usr/local/lib/python3.5/dist-packages/climb/commands.py", line 26, in execute
return method(*args, **kwargs)
File "/usr/local/lib/python3.5/dist-packages/grafcli/commands.py", line 40, in cd
self._resources.list(path)
File "/usr/local/lib/python3.5/dist-packages/grafcli/resources/resources.py", line 38, in list
return manager.list(*parts)
File "/usr/local/lib/python3.5/dist-packages/grafcli/resources/common.py", line 13, in list
dashboard = self.get(dashboard_name)
File "/usr/local/lib/python3.5/dist-packages/grafcli/resources/common.py", line 33, in get
dashboard = self._storage.get(dashboard_name)
File "/usr/local/lib/python3.5/dist-packages/grafcli/storage/sql.py", line 68, in get
return Dashboard(source, dashboard_id)
File "/usr/local/lib/python3.5/dist-packages/grafcli/documents.py", line 95, in __init__
self._load(source)
File "/usr/local/lib/python3.5/dist-packages/grafcli/documents.py", line 101, in _load
for row in source['rows']:
KeyError: 'rows'
Any plans to implement 5.0 support?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels