There are cases where an error won't or cannot be sent as an HTTP response with the appropriate status code (examples: ContinueOnError as configured error handling, #542 ). While those problem should be caught be logs, it is better if alerts can be set up for those problems. Thus, promhttp should add an error counter as a metric.
There are cases where an error won't or cannot be sent as an HTTP response with the appropriate status code (examples:
ContinueOnErroras configured error handling, #542 ). While those problem should be caught be logs, it is better if alerts can be set up for those problems. Thus,promhttpshould add an error counter as a metric.