ResponseStatusException should be treated as error #11883
Unanswered
zhenchuan9r
asked this question in
Q&A
Replies: 1 comment
-
hi @zhenchuan9r! starting from version 2.0, the controller spans are no longer emitted by default (you can still opt-in, but do you need them, and if not would this solve your concern)? thanks |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using javagent 1.27.
In the case of throwing ResponseStatusException from controller, the controller's span will be record as an error span.
However, this pattern is common and in most cases ResponseStatusException is just used to set response status.
The span is not "error" actually.
Beta Was this translation helpful? Give feedback.
All reactions