westerndigitalcorporation / zenfs

ZenFS is a storage backend for RocksDB that enables support for ZNS SSDs and SMR HDDs.
GNU General Public License v2.0
243 stars 88 forks source link

fs: Add metrics prometheus exporter #208

Closed metaspace closed 2 years ago

metaspace commented 2 years ago

Set environment variable ZENFS_EXPORT_PROMETHEUS=y when building to enable prometheus export of metrics. Exporter will listen on 127.0.0.1:8080.

Requires prometheus-cpp-pull == 1.1.0.

metaspace commented 2 years ago

LGTM. Can we update README (or add a new readme) with brief instructions to use this ?

@aravind-wdc Added section to README.md, please review :)

yhr commented 2 years ago

merge cmake changes first