errors-spring-boot-starter icon indicating copy to clipboard operation
errors-spring-boot-starter copied to clipboard

Exposing Metrics

Open alimate opened this issue 5 years ago • 0 comments

Synopsis

Since we catch all possible exceptions and know about their details, we might as well expose some metrics about them, too.

Possible Solution

We may register a WebErrorHandlerPostProcessor conditionally to expose the related metrics about the handled exception, its corresponding error code, status code, etc.

alimate avatar Mar 27 '19 19:03 alimate