-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
absent_over_time and absent #2893
Comments
eagerly waiting for this too. |
Hey @tabnul , I made a workaround that fits my use-case, where I alert to slack when log content is not visible within one minute using AWS Lambda and CloudWatch Events: |
This adds absent_over_time which is super useful when alerting, it can be combine with any logql selector including parsers and filter to returns a timeseries with 1 when logs go missing. Fixes grafana#2893 Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>
* Add absent_over_time This adds absent_over_time which is super useful when alerting, it can be combine with any logql selector including parsers and filter to returns a timeseries with 1 when logs go missing. Fixes #2893 Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com> * Adds comment. Signed-off-by: Cyril Tovena <cyril.tovena@gmail.com>
Like for Prometheus https://prometheus.io/docs/prometheus/latest/querying/functions/#absent_over_time
absent_over_time can be useful for alerting when a stream disappears for too long. aka something stopped logging.
absent() should also be implemented for vectors generated by range aggregations.
The text was updated successfully, but these errors were encountered: