Skip to content

Retrieve number of read/write operations for a particular file in Cephfs #810

Discussion options

You must be logged in to vote

Interesting question. It may be helpful to ask this question on one of the ceph mailing lists as I'm unaware of any existing API to get these stats. You may also want to clarify if this is a global count or a "per session" (per rados/cephfs "connection") counter. If these values are available somewhere, but unknown to me, we can discuss adding them to go-ceph, which typically just wraps existing APIs provided by Ceph (either C apis or mgr based APIs). If the counters don't exist you can then ask the ceph project for a feature enhancement and if the feature gets added we can then add it to our Go bindings.

I would ask in ceph users or devel mailing lists: https://ceph.io/en/community/connect/

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ltson4121994
Comment options

Answer selected by ltson4121994
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants