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(maintenance): Per-endpoint maintenance configuration #982

Merged
merged 8 commits into from
Feb 17, 2025

Conversation

alexmaras
Copy link
Contributor

@alexmaras alexmaras commented Jan 28, 2025

This is currently working well on my locally running instance.

Summary

Adds maintenance windows per endpoint, with the ability for multiple maintenance windows (array of maps)

Fixes #312

Checklist

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

Let me know if any more testing makes sense. The base maintenance testing (i.e. IsUnderMaintenance()) is already covered by the Maintenance testing in general, this only adds a new check in the watchdog to handle those.

@alexmaras alexmaras force-pushed the feat/maintenance-per-endpoint branch from e5ca32b to 174eea9 Compare January 29, 2025 03:40
@alexmaras alexmaras changed the title DRAFT: Feat/maintenance per endpoint feat(maintenance): Maintenance configuration per-endpoint Jan 29, 2025
@Kemichal
Copy link

Kemichal commented Feb 8, 2025

Looking forward to this feature getting merged.

@alexmaras
Copy link
Contributor Author

alexmaras commented Feb 11, 2025

@Kemichal if you wanted to test it in the meantime, you can pull from:

ghcr.io/alexmaras/gatus:latest
or
docker.io/alexmaras/gatus:latest

Those are built from my master branch on my fork: https://github.com/alexmaras/gatus/actions/runs/13255827974

@TwiN TwiN added the feature New feature or request label Feb 17, 2025
@TwiN TwiN changed the title feat(maintenance): Maintenance configuration per-endpoint feat(maintenance): Per-endpoint maintenance configuration Feb 17, 2025
@TwiN TwiN merged commit a1f7bd7 into TwiN:master Feb 17, 2025
2 checks passed
@TwiN
Copy link
Owner

TwiN commented Feb 17, 2025

@alexmaras Thank you for the contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Maintenance Windows per endpoint
3 participants