Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(connectivity): Allow internet connection validation prior to endpoint execution #461

Merged
merged 1 commit into from
May 3, 2023

Conversation

TwiN
Copy link
Owner

@TwiN TwiN commented May 3, 2023

Summary

While Gatus is used to monitor other services, it is possible for Gatus itself to lose connectivity to the internet.
In order to prevent Gatus from reporting endpoints as unhealthy when Gatus itself is unhealthy, you may configure
Gatus to periodically check for internet connectivity.

All endpoint executions are skipped while the connectivity checker deems connectivity to be down.

Checklist

  • Tested and/or added tests to validate that the changes work as intended, if applicable.
  • Updated documentation in README.md, if applicable.

@TwiN TwiN added feature New feature or request area/api Related to the REST API labels May 3, 2023
@codecov-commenter
Copy link

Codecov Report

Patch coverage: 76.92% and project coverage change: +0.01 🎉

Comparison is base (6908199) 81.97% compared to head (0248ce8) 81.99%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #461      +/-   ##
==========================================
+ Coverage   81.97%   81.99%   +0.01%     
==========================================
  Files          56       57       +1     
  Lines        4261     4287      +26     
==========================================
+ Hits         3493     3515      +22     
- Misses        600      602       +2     
- Partials      168      170       +2     
Impacted Files Coverage Δ
config/config.go 74.89% <25.00%> (-1.68%) ⬇️
config/connectivity/connectivity.go 100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@TwiN TwiN merged commit 447e140 into master May 3, 2023
@TwiN TwiN deleted the feat/connectivity branch May 3, 2023 02:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/api Related to the REST API feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants