We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Grafana fails to parse dashboard when all panels are enclosed in a row. Relevant log output is provided.
Deploy COS
Not relevant
unit-grafana-0: 11:29:50 ERROR unit.grafana/0.juju-log grafana-dashboard:24: Uncaught exception while in charm code: Traceback (most recent call last): File "./src/charm.py", line 1167, in <module> main(GrafanaCharm, use_juju_for_storage=True) File "/var/lib/juju/agents/unit-grafana-0/charm/venv/ops/main.py", line 438, in main _emit_charm_event(charm, dispatcher.event_name) File "/var/lib/juju/agents/unit-grafana-0/charm/venv/ops/main.py", line 150, in _emit_charm_event event_to_emit.emit(*args, **kwargs) File "/var/lib/juju/agents/unit-grafana-0/charm/venv/ops/framework.py", line 355, in emit framework._emit(event) # noqa File "/var/lib/juju/agents/unit-grafana-0/charm/venv/ops/framework.py", line 856, in _emit self._reemit(event_path) File "/var/lib/juju/agents/unit-grafana-0/charm/venv/ops/framework.py", line 931, in _reemit custom_handler(event) File "/var/lib/juju/agents/unit-grafana-0/charm/lib/charms/grafana_k8s/v0/grafana_dashboard.py", line 1272, in _on_grafana_dashboard_relation_changed changes = self._render_dashboards_and_signal_changed(event.relation) File "/var/lib/juju/agents/unit-grafana-0/charm/lib/charms/grafana_k8s/v0/grafana_dashboard.py", line 1369, in _render_dashboards_and_signal_changed content = _convert_dashboard_fields(content, inject_dropdowns) File "/var/lib/juju/agents/unit-grafana-0/charm/lib/charms/grafana_k8s/v0/grafana_dashboard.py", line 599, in _convert_dashboard_fields dict_content = _replace_template_fields(dict_content, datasources, existing_templates) File "/var/lib/juju/agents/unit-grafana-0/charm/lib/charms/grafana_k8s/v0/grafana_dashboard.py", line 616, in _replace_template_fields panels = dict_content["panels"] KeyError: 'panels'
No response
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Bug Description
Grafana fails to parse dashboard when all panels are enclosed in a row. Relevant log output is provided.
To Reproduce
Deploy COS
Environment
Not relevant
Relevant log output
Additional context
No response
The text was updated successfully, but these errors were encountered: