You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I bet you need to set the schemaVersion on the dashboard object to something newer. 12 is getting set by default, but my local grafana 8.5.2 is generating dashboards with 36 as the value.
I'm curious what the strategy to handle this should be- there are at least a handful of attributes that are being created by grafanalib that are no longer created by grafana, and it would be nice to skip the old stuff if it's not needed. But I assume bumping the default to a new value would cause breaking people with older grafana installations, and not be accepted.
mharbison72
added a commit
to mharbison72/grafanalib
that referenced
this issue
May 24, 2022
What you expected to happen?
I expected an option to configure a dashboard to use "Shared Tooltip", seen below in the UI.
What happened?
There's no option for this in the
Dashboard
class.Additional info
I did try writing a wrapper for this to hack it into the JSON output:
Putting this through the generator does produce the correct value (
"graphTooltip": 2
) in the output:However, importing this JSON into Grafana on the UI doesn't retain the option, and the dashboard doesn't have a shared tooltip.
The text was updated successfully, but these errors were encountered: