Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 581 Bytes

README.md

File metadata and controls

16 lines (12 loc) · 581 Bytes

rocksdb-prometheus-exporter

Feed RocksDB metrics into Prometheus.

Example usage

docker run -d --name rocksdb-prometheus-exporter \
  -p 8080:8080 \
  -v <path(s) to stores on host>:/stores:ro \
  -e "PATHS=/stores/*/*/*" \
  vouchio/rocksdb-prometheus-exporter

As you can see, $PATHS can be a glob which gets expanded internally. This lets you specify multiple stores to monitor. The stores are mounted readonly (using :ro) to ensure we don't accidentally corrupt any stores.

See the Dockerfile for more on how to configure the other settings.