Grafana exports Yaml Schema for lower overhead and readability, but GrafanaDashboard objects only support JSON? #2121
Replies: 3 comments
-
More rough edges here - it seems that GrafanaOperator also doesn't understand v1 schema exports, only "classic" works. |
Beta Was this translation helpful? Give feedback.
-
The new schema is currently still experimental so we haven't added support yet. For the time being you can only use json or jsonnet for inline definitions. |
Beta Was this translation helpful? Give feedback.
-
v2 Schema is, I think, a separate concern from the v1 Schema, which is stable. However Operator only supports JSON for v1 Schema, when yaml is valid and consumes less data. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Wondering if I've missed something or if there's something undocumented here. Grafana now allows exporting dashboards as YAML, which has much less overhead in terms of bytes (think space limits in etcd) and is far easier to read - however it appears this is overlooked in the operator as it only documents support for JSON and Jsonnet format.
Is yaml support on the roadmap or perhaps already there but poorly documented?
Beta Was this translation helpful? Give feedback.
All reactions