]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/prometheus: add smb_metadata metric
authorAvan Thakkar <athakkar@redhat.com>
Thu, 10 Jul 2025 12:07:59 +0000 (17:37 +0530)
committerAvan Thakkar <athakkar@redhat.com>
Mon, 15 Sep 2025 06:36:45 +0000 (12:06 +0530)
commit7d30f1c63b63d8664f4a68e57ce573c78cd3c887
tree5605202932914cb60bf150757d2389bb2bca2355
parent27aeb7198f63a6f35f6fc826fe6a762be0c6c7b9
mgr/prometheus: add smb_metadata metric

Exposed SMB metadata metric including labels:
- CephFS volume, subvolume group and subvolume
- SMB cluster ID (as netbiosname)
- SMB  version

Fixes: https://tracker.ceph.com/issues/72068
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
(cherry picked from commit e214717fea850ae2121fa566f60b696ec8ddd7a2)
src/pybind/mgr/prometheus/module.py