WebFluxTags.outcome() returns OUTCOME_UNKNOWN when
exchange.getResponse().getStatusCode() returns null.
When WebFluxTags.status() assumes that the status is HttpStatus.OK in the same situation.
As a result a lot of webflux metrics are contain UNKNOWN tag.
WebFluxTags.outcome() should return OUTCOME_SUCCESS.
The text was updated successfully, but these errors were encountered:
WebFluxTags is a Spring Boot class, so there's nothing much to do on the Spring Framework side. If anything, we've already tackled the source of the problem in #21901 by making 200 OK the default response status. As of Spring Framework 5.1.3, you should not see null response status anymore.
You've raised this ticket against 5.1.3, does it mean you ran into such a situation? Could you reopen this issue with a sample project if you still see null response status in Spring Framework 5.1.3?