what‘s the behavior of consecutiveErrorLimit?I tested reach consecutiveErrorLimit will not degrade #1502
-
what‘s the behavior of consecutiveErrorLimit?I tested reach consecutiveErrorLimit will not degrade |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Errors are treated differently than Failures. Errors happen when the controller failed to perform the request (e.g. due to environmental issues such as network connectivity), whereas with a Failure, we were able to successfully performed the request, but the returned value evaluated as unsuccessful (e.g. the latency exceeded threshhold).
Note that this is a limit, so to fail the metric, it will need to occur |
Beta Was this translation helpful? Give feedback.
Errors are treated differently than Failures. Errors happen when the controller failed to perform the request (e.g. due to environmental issues such as network connectivity), whereas with a Failure, we were able to successfully performed the request, but the returned value evaluated as unsuccessful (e.g. the latency exceeded threshhold).
consecutiveErrorLimit
is the maximum number of errors that can happen in succession before the metric is marked as an error. We decided to use a consecutive count instead of a total count, because unlike failures, errors tend to happen ephemerally and may recover on its own. For example, if there is a temporary DNS glitch at time A, but then recovers at t…