CephFS指标的Prometheus导出器

90 阅读1分钟

CephFS导出器

CephFS指标的Prometheus导出器,目前暴露的度量:

  • cephfs_subvolume_quota_bytes 所有CephFS卷的所有子卷
  • cephfs_subvolume_used_bytes 对于所有CephFS卷的所有子卷

构建

go build

使用方法

运行,可选择指定监听请求的地址/端口:

./cephfs_exporter --web.listen-address :9939

cephfs_exporter 是使用默认的 ceph 配置文件在 。如果ceph管理命令正常工作,出口器也应该工作。/etc/ceph/ceph.conf