You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem: If the return type is DeferredResult<ResponseEntity<?>>, the counted status code is 200 even if you set the result to new ResponseEntity<>(HttpStatus.CREATED). Without the DeferredResult everything works as expected.
UPDATE:
the output of the metrics endpoint after 1 POST to /create looks like this: