grafana-toolbox / grafana-wtf

Grep through all Grafana entities in the spirit of git-wtf.
GNU Affero General Public License v3.0
139 stars 12 forks source link

Improve error reporting on invalid Grafana URLs, or invalid endpoints #133

Closed amotl closed 3 months ago

amotl commented 3 months ago

About

Improve robustness when connecting, based on reports by @interfan7 at GH-113. 🙇

codecov[bot] commented 3 months ago

Codecov Report

Attention: Patch coverage is 95.00000% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 87.23%. Comparing base (6dc0015) to head (89a071a).

Files Patch % Lines
grafana_wtf/core.py 94.44% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #133 +/- ## ========================================== + Coverage 86.68% 87.23% +0.54% ========================================== Files 9 9 Lines 1074 1081 +7 ========================================== + Hits 931 943 +12 + Misses 143 138 -5 ``` | [Flag](https://app.codecov.io/gh/panodata/grafana-wtf/pull/133/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=panodata) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/panodata/grafana-wtf/pull/133/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=panodata) | `87.23% <95.00%> (+0.54%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=panodata#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.