-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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: add support for alerting on absent metric #3245
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will fix them. Let me know if there are any other functional issues. |
While this is helpful, it has certain limitations. It won't be useful when there is partial data for metrics. For instance, take host metrics, a user wants to get alerted when any host stops sending data. They would have to create one alert for each host which is not practical. The common way to achieve this is to use two queries one with last for 10 minutes back and one with a current window and alert. That would be possible when we have support for timeshift function. |
please add tests with some edge/different cases |
requested changes are addressed
Part of #1463