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
Note sure if it exists - but a yaml schema for validation would be useful for writing dashboards / alerts easily for new users.
That way in editors such as vscode one would get intellisense and errors when the yaml doesn't match the schema.
for reference vscode can pick up the schmea using smthg like:
I generated a JSON Schema for dashboards (see #254). Haven't spent too much time verifying that the schema is 100% accurate though, but it's probably still better than nothing (I actually expect it not to be completely accurate, especially when it comes to required/non-required fields and oneOf declarations)
Note sure if it exists - but a yaml schema for validation would be useful for writing dashboards / alerts easily for new users.
That way in editors such as vscode one would get intellisense and errors when the yaml doesn't match the schema.
for reference vscode can pick up the schmea using smthg like:
# yaml-language-server: $schema=https://raw.githubusercontent.com/K-Phoen/grabana/schemas/schema.json
The text was updated successfully, but these errors were encountered: