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

Delay removed event for 60 seconds after the chart's last collected time #12388

Merged
merged 2 commits into from
Mar 14, 2022

Conversation

MrZammler
Copy link
Contributor

Summary

This PR adds a delay before creating a REMOVED alert event when a chart goes obsolete. It should help with cases when charts go in OBSOLETE and then back to ok quickly.

Test Plan

Similar testing can be conducted as in #12021 (using e.g. a usb stick). This time around, with this PR, the REMOVED event should be produced 60 seconds after the last_collected time.

vlvkobal
vlvkobal previously approved these changes Mar 14, 2022
stelfrag
stelfrag previously approved these changes Mar 14, 2022
erdem2000
erdem2000 previously approved these changes Mar 14, 2022
health/health.c Outdated Show resolved Hide resolved
@MrZammler MrZammler dismissed stale reviews from erdem2000, stelfrag, and vlvkobal via 148466b March 14, 2022 11:46
@MrZammler
Copy link
Contributor Author

Thanks guys!

@MrZammler MrZammler merged commit c367788 into netdata:master Mar 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Investigate and reduce the amount of removed alert events on obsoleted charts.
5 participants