You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by "dentiny (via GitHub)" <gi...@apache.org> on 2026/03/25 01:58:38 UTC

[I] bug: metrics stream doesn't record error status on timeout [opendal]

dentiny opened a new issue, #7304:
URL: https://github.com/apache/opendal/issues/7304

   ### Describe the bug
   
   Hi team, when I was doing load test I notice discrepancy on error status gauge between client and server.
   Checking the codebase I think it's basically the same issue as https://github.com/apache/opendal/issues/7302
   
   Currently when we `poll_next` on `MetricsStream` neither do we record success/failure, nor we do increment error status count.
   https://github.com/apache/opendal/blob/cc1f90bbf53ed95cf9827336b7dd645fb71f6d72/core/layers/observe-metrics-common/src/lib.rs#L590-L607
   
   ### Steps to Reproduce
   
   N/A
   
   ### Expected Behavior
   
   Error status gauge is incremented on poll error.
   
   ### Additional Context
   
   _No response_
   
   ### Are you willing to submit a PR to fix this bug?
   
   - [x] Yes, I would like to submit a PR.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] bug: metrics stream doesn't record error status on timeout [opendal]

Posted by "Xuanwo (via GitHub)" <gi...@apache.org>.
Xuanwo closed issue #7304: bug: metrics stream doesn't record error status on timeout
URL: https://github.com/apache/opendal/issues/7304


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org