A site reliability engineer needs to be notified immediately when the error rate of a production microservice exceeds 5% over a 5-minute window. Which type of alerting policy should be used?
A metric threshold alert evaluates a metric against a threshold and is ideal for this use case.
Why this answer
A metric threshold alert triggers when a metric crosses a threshold. This scenario requires tracking the error rate metric and alerting when it exceeds 5%.