Currently, errors are only detected by the http_total_requests 500 status code metric. This is imperfect, because the metric isn't emitted until we get our first error. This means the increase() prometheus function reports 0 when we see the first error.
The proposal in this ticket is to add an error in the ErrorMapper to count internal errors and initialize it to 0 when the service starts.
Overview
Currently, errors are only detected by the http_total_requests 500 status code metric. This is imperfect, because the metric isn't emitted until we get our first error. This means the
increase()
prometheus function reports 0 when we see the first error.The proposal in this ticket is to add an error in the ErrorMapper to count internal errors and initialize it to 0 when the service starts.