Replies: 4 comments
-
|
I haven't tested that version yet. All the tests pass against: 12.0.0-ubuntu but I'll see about testing this out. I do see a PR grafana/grafana-openapi-client-go#122 waiting for the version you called out. Is there something specific that you know changed? Usually the "baseline" (my terminology) APIs aka get a dashboards / get a datasource haven't changed in a while, so I'd be surprised that it would stop working for a minor version bump. |
Beta Was this translation helpful? Give feedback.
-
|
Doing some basic testing: It doesn't seem to have any version specific issues. I just did a simple CRUD test: gdg backup dashboards upload
gdg backup dashboards list
gdg backup dashboards download
gdg backup dashboards clear
gdg backup dashboards listIf you could give a bit more context, I might be able to help but it passes the basic sanity check. |
Beta Was this translation helpful? Give feedback.
-
|
Sry for the very late response. Here some more information:
Here my config file: After reconsidering, I remembered that I set the feature flag for the new, significantly improved dashboard editing experience (‘dashboardNewLayouts’): After deactivating all feature toggles, everything worked well. So this is the issue. So, it isn't a bug - due to the fact it is still an experimental feature toggle. See: https://grafana.com/docs/grafana/latest/observability-as-code/schema-v2/ You can close this issue - unless you want to create a feature request or similar. THX for your investigation! |
Beta Was this translation helpful? Give feedback.
-
|
The proper regex support is a relatively recent change for watched folder. I think what you're doing should work but the typical pattern I suggested in the past was to use: dashboard_settings:
ignore_filters: true # When set to true all Watched filtered folders will be ignored and ALL folders will be acted onI think that will be a breaking change. Not sure exactly how to handle that or how grafana will. It makes sense for GDG to break since you essentially changed the language / format it speaks. Thanks for calling this out. I will likely add that in when it goes stable. If you want to add any more context, there is this ticket that tried to capture this future change. #422 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Is Grafana v12 already supported?
I get this error if I want to backup a v12 dashboard:
2025-08-21 18:01:38 ERR service/dashboards.go:364 unable to get Dashboard by UID err="[GET /dashboards/uid/{uid}][406] getDashboardByUidNotAcceptable {\"message\":\"dashboard api version not supported, use /apis/dashboard.grafana.app/v2alpha1/namespaces/default/dashboards/bpz82sq instead\"}" Dashboard-URI=db/new-dashboardThanks for this great tool!!
Beta Was this translation helpful? Give feedback.
All reactions