-
Notifications
You must be signed in to change notification settings - Fork 40.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add an outcome tag for web client metrics similar to MVC and WebFlux server metrics #15594
Add an outcome tag for web client metrics similar to MVC and WebFlux server metrics #15594
Conversation
New test file is already formatted but still it is failing with formatting violations, can someone help me to understand what i am doing wrong here. |
@nishantraut I am assuming you are on Windows and have not configured your client to properly format line endings as CRLF. See, for instance, this thread. On a related note, your copy of the repository is not clean (see all the Merge from Please do not open a duplicate PR if you intend to fix this. You can push force on your branch and the PR will update itself automatically |
Thanks @snicoll yes i am on windows applied core.autocrlf true hope it will fix. I still need to figure out what is the best way to update my master branch as i do using compare-across forks by raising reverse PR. Thanks i will check/ask on stakcoverflow |
What would be the outcome tag value when the client call times out? |
It should be SERVER_ERROR |
Sorry i will try to fix formatting issue on weekend. Apologize for inconvenience. |
Is that suitable? Server error would indicate a 5xx status response from the client. In the case of a timeout there is no response from the client. |
Hi @michaelmcfadyen, Depends what status code is returned if it is 4xx (guess client timeout is 408) then CLIENT_ERROR or 5xx then SERVER_ERROR. This changes are aligned with WebMvc and WebFlux outcomes. |
In the case of the http call timing out (read/connect) there will be no status in the response. In my opinion, setting the outcome tag as |
I am quite new to this code base, can someone from springboot team revert on above question |
6690f3e
to
d359a67
Compare
…or WebMVC and WebFlux spring-projects#15420
d359a67
to
82c4245
Compare
Hi @snicoll I have cleaned up unnecessary commits and merged into one, can you please review PR and merge if it looks ok. Thank you for the support. |
Thanks for your contribution @nishantraut - I've polished things a bit in d5ae59d to address the comments here - if the response status cannot be resolved, we'll settle with |
…information on the 'outcome' tag introduced as part of spring-projects#15594. Also, update the layout of the tags section to match other similar sections
See #15420