grafana / grafonnet

Jsonnet library for generating Grafana dashboards.
https://grafana.github.io/grafonnet/
Apache License 2.0
352 stars 19 forks source link

feat(custom): set the current value of variable #116

Closed Duologic closed 1 year ago

Duologic commented 1 year ago

This PR adds a function to set the current value of a variable.

This PR includes a few minor drive-by updates.

Duologic commented 1 year ago

Yeah, style guide and/or a per-project linter/fmt setup is something I've been considering but not yet figured how to get it going. The make target implements the low-hanging fruit changes.