Wrong observation status tag when a Not Found in a webflux application #31703
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
status: backported
An issue that has been backported to maintenance branches
theme: observability
An issue related to observability and tracing
type: regression
A bug that is also a regression
Milestone
Spring Boot Version: 3.1.6
Given a webflux application with metrics enabled, when a request is done to a non existing endpoint, the status tag is 200, instead of 404 (not found)
I have attached a sample application.
webflux-metrics.zip
To reproduce the issue
Notice the tag status="200"
Notice that with SpringBoot 3.1.5, it works correctly, having the status=404
The text was updated successfully, but these errors were encountered: