Feature #55721
openAdd NFS information to telemetry collection
0%
Description
With more work going into NFS support in Ceph, it would be good to collect telemetry information about NFS usage in Ceph clusters. The Rook project is interested in collecting this telemetry, and I imagine it is useful for cephadm as well.
Ceph can count NFS clusters with the below workflow that will work for both cephadm and Rook:
1. list the namespaces in the `.nfs` pool
2. count each namespace that has a `conf-nfs.<namespace>` object present as an NFS cluster
Or it may be preferable to bake a command into the `ceph nfs` CLI that can be used. It will likely use that workflow on the backend.
It would be nice to have this backported to Quincy.
Updated by Blaine Gardner almost 2 years ago
It would also be nice to count the number of NFS exports.
In any given RADOS namespace, exports are identified by an object called `rados-N` where N is some numerical ID.