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/04/03 01:28:31 UTC
[I] new feature: provide object level metrics [opendal]
dentiny opened a new issue, #7358:
URL: https://github.com/apache/opendal/issues/7358
### Feature Description
Hi team, in the metrics layer, I found we collect and report two layers of metrics: operation level (metrics prefixed with `opendal_operation_`) and http request level (metrics prefixed by `opendal_http_requests_`).
Object level metrics are important. Usually there're three layers in terms of IO path: library user, IO library (like opendal) and storage service (like S3), with each of belonging to different companies and departments.
The object level metrics and dashboards are useful and important to prove the effectiveness for IO library, and it's different from server-side metrics.
In terms of the operation level metrics provided by opendal. For example, on `get` function call for downloading objects from S3 with concurrent read, it could understood as (1) a chunk read; (2) a whole object download; and for metrics like `OperationDurationSeconds` we take the former.
A few object-level metrics I would expect, which is similar to what we do for operation and http metrics
- counter for requests
- gauge for ongoing requests
- histogram for access latency
- counter for errors encounter
### Problem and Solution
"object" is a term commonly seen in object storage.
I understand the goal for this library is for "all storage backend", the object I refer to generally means "the object to access from opendal's APIs".
### Additional Context
_No response_
### Are you willing to contribute to the development of this feature?
- [ ] Yes, I am willing to contribute to the development of this feature.
--
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