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
Motivation:
line#5283
Modifications:
- Separating `onResponse` into `onResponseOnClient` and `onResponseOnServer` as refactoring
- Add `failureAttempts(Throwable error)` and `failureAttempts(HttpStatus httpstatus)` at `ClientRequestMetrics` and make us enable to record causes of failed attempts
Result:
- Closesline#5283
- The metrics for failed requests while retrying now include the cause of the failure.
Co-authored-by: jrhee17 <guins_j@guins.org>
Only the number of failure attempts is recorded, it is difficult to know why the attempts failed.
armeria/core/src/main/java/com/linecorp/armeria/internal/common/metric/RequestMetricSupport.java
Line 171 in 90969d1
It would be good if the cause was recorded as a tag of the meter.
The text was updated successfully, but these errors were encountered: