K-Phoen / grabana

User-friendly Go library for building Grafana dashboards
MIT License
680 stars 69 forks source link

Add a DefaultAll() option to custom variables #247

Closed K-Phoen closed 8 months ago

K-Phoen commented 8 months ago

Closes #237

codecov[bot] commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (597add5) 89.70% compared to head (22577ee) 89.71%. Report is 1 commits behind head on master.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/K-Phoen/grabana/pull/247/graphs/tree.svg?width=650&height=150&src=pr&token=eJwYXNp5jD&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=K%C3%A9vin+Gomez)](https://app.codecov.io/gh/K-Phoen/grabana/pull/247?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=K%C3%A9vin+Gomez) ```diff @@ Coverage Diff @@ ## master #247 +/- ## ======================================= Coverage 89.70% 89.71% ======================================= Files 92 92 Lines 7032 7036 +4 ======================================= + Hits 6308 6312 +4 Misses 572 572 Partials 152 152 ``` | [Files](https://app.codecov.io/gh/K-Phoen/grabana/pull/247?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=K%C3%A9vin+Gomez) | Coverage Δ | | |---|---|---| | [variable/custom/custom.go](https://app.codecov.io/gh/K-Phoen/grabana/pull/247?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=K%C3%A9vin+Gomez#diff-dmFyaWFibGUvY3VzdG9tL2N1c3RvbS5nbw==) | `100.00% <100.00%> (ø)` | | | [variable/query/query.go](https://app.codecov.io/gh/K-Phoen/grabana/pull/247?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=K%C3%A9vin+Gomez#diff-dmFyaWFibGUvcXVlcnkvcXVlcnkuZ28=) | `100.00% <100.00%> (ø)` | |