grafonnet
grafonnet copied to clipboard
Jsonnet library for generating Grafana dashboards.
WIP g11
WIP, generate Grafonnet from foundation-sdk.
### Overview This PR expands the [queryTypes](https://github.com/grafana/grafonnet/blob/main/custom/dashboard/variable.libsonnet#L250) to create "QueryResult" template variable in Grafana. ### Changes Querytype array has been extended to include QueryResult function. Impact This change will help...
[QueryTypes](https://github.com/grafana/grafonnet/blob/main/custom/dashboard/variable.libsonnet#L250) only allow to create LabelValue type queries which is restrictive. I would like to request to open to use QueryResult at least. ```[tasklist] ### Tasks - [ ] https://github.com/grafana/grafonnet/pull/190...
I'm trying to use grafonnet to define alert rules to be uploaded using this API https://grafana.com/docs/grafana/latest/developers/http_api/alerting_provisioning/#route-post-alert-rule. My assumption is that I should use this grafonnet API https://grafana.github.io/grafonnet/API/alerting/ruleGroup/rule/index.html The problem is...
Hello, probably a bug in the Grafana schema, but g.panel.timeSeries.fieldConfig.defaults.custom.withInsertNulls - used to show gaps in the data as gaps in the graph seems to be missing. Any workaround while...
I looked at the schemaVersion in grafonnet generated dashboard and then compared it to what I exported from my grafana instance after using it there - then the schema was...
The idea is to provide an endpoint or perhaps a separate library to validate dashboards against their schema. For jsonnet this library could be used: https://github.com/crdsonnet/validate-libsonnet Additionally we could look...
Hi and thanks for the work on making grafonnet better aligned with the development of Grafana! I have been playing around with the 10.2.0 API and Grafana 10.2.3 and now...
Hi! Please close this if I'm way off base, but I can't currently find any queries / targets for the core PostgreSQL plugin. I'll try to use the same workaround...
These two attributes are required for below reasons. * **maxPerRow:** To limit on the max repeating panels in a row. * **repeatDirection:** To allow repeat direction either "h" or "v"...