K-Phoen / grabana

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

Fix hidden prometheus queries are still displayed on non-graph panels #216

Closed K-Phoen closed 1 year ago

codecov[bot] commented 1 year ago

Codecov Report

Merging #216 (8ae2fc7) into master (818cff3) will increase coverage by 0.00%. The diff coverage is 100.00%.

Additional details and impacted files [![Impacted file tree graph](https://codecov.io/gh/K-Phoen/grabana/pull/216/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://codecov.io/gh/K-Phoen/grabana/pull/216?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 #216 +/- ## ======================================= Coverage 90.89% 90.90% ======================================= Files 89 89 Lines 6703 6707 +4 ======================================= + Hits 6093 6097 +4 Misses 468 468 Partials 142 142 ``` | [Impacted Files](https://codecov.io/gh/K-Phoen/grabana/pull/216?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=K%C3%A9vin+Gomez) | Coverage Δ | | |---|---|---| | [gauge/gauge.go](https://codecov.io/gh/K-Phoen/grabana/pull/216?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=K%C3%A9vin+Gomez#diff-Z2F1Z2UvZ2F1Z2UuZ28=) | `100.00% <100.00%> (ø)` | | | [heatmap/heatmap.go](https://codecov.io/gh/K-Phoen/grabana/pull/216?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=K%C3%A9vin+Gomez#diff-aGVhdG1hcC9oZWF0bWFwLmdv) | `100.00% <100.00%> (ø)` | | | [singlestat/singlestat.go](https://codecov.io/gh/K-Phoen/grabana/pull/216?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=K%C3%A9vin+Gomez#diff-c2luZ2xlc3RhdC9zaW5nbGVzdGF0Lmdv) | `100.00% <100.00%> (ø)` | | | [stat/stat.go](https://codecov.io/gh/K-Phoen/grabana/pull/216?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=K%C3%A9vin+Gomez#diff-c3RhdC9zdGF0Lmdv) | `100.00% <100.00%> (ø)` | |