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

Defer or disable notifications when registry is down #360

Closed
qqilihq opened this issue Aug 4, 2019 · 3 comments
Closed

Defer or disable notifications when registry is down #360

qqilihq opened this issue Aug 4, 2019 · 3 comments

Comments

@qqilihq
Copy link

qqilihq commented Aug 4, 2019

Is your feature request related to a problem? Please describe.

We’re running our own Docker registry which is on scheduled maintenance during the night. During this time, when Watchtower cannot access the registry, our Slack channels will be flooded with messages:

Bildschirmfoto 2019-08-04 um 11 17 54

Describe the solution you'd like

An ideal solution, though obviously quite narrow to our use case, would be, that errors about an unreachable registry are only propagated after x failed attempts, or y minutes.

Describe alternatives you've considered

Alternatively, completely turning off notifications about unreachable registries might work for us as well -- while retaining other info and error notifications. (doesn’t seem to be possible with the current log levels, as the mentioned message is logged with info)

Additional context

I understand that this is probably a quite “special” case, so I’m not expecting a feature like this. However, I’d like to hear how/if others are dealing with this situation.

@welcome
Copy link

welcome bot commented Aug 4, 2019

Hi there!
Thanks a bunch for opening your first issue! 🙏 As you're new to this repo, we'd like to suggest that you read our code of conduct

@qqilihq qqilihq changed the title Defer notifications when registry is down Defer or disable notifications when registry is down Aug 4, 2019
@simskij
Copy link
Member

simskij commented Aug 20, 2019

We already have a suggestion in place for implementing per container maintenance windows. Seems like that would solve your use case as well. Closing this issue in favor of #97

@simskij simskij closed this as completed Aug 20, 2019
@qqilihq
Copy link
Author

qqilihq commented Aug 20, 2019

Thx.

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

No branches or pull requests

2 participants