Add alerting rules and post alerts as GitHub comments on being triggered
Since AlertManager doesn't natively support a GitHub receiver, a receiver needs to be made using webhook-receiver
alertmanager-github-receiver creates a GitHub issue from alerts using AlertManager webhook-receiver. Maybe this tool can modified to support GitHub comments also.
that is very useful and it look like exactly what we need. Thanks will look into that!
It makes sense to terminate benchmarking in the middle, rather than wait for 6 hours for a buggy release/PR. The following can be certain scenarios to declare benchmarking to have failed
- Prometheus’s resource usage crosses a certain threshold. (similar to adding alerting rules for prometheus servers)
- A known good prometheus release will be considered.
If the difference in metrics of the current release and a known good release is beyond a certain threshold. For example:
- (no. of failed queries) - (original no. of failed queries) > threshold
- (avg. memory usage) - (original avg. memory usage) > threshold
- (used disk space) - (original used disk space) > threshold
a bug that we should have an alerting rule for
https://github.com/prometheus/prometheus/issues/3943