tecbot / gorocksdb

gorocksdb is a Go wrapper for RocksDB
http://rocksdb.org
MIT License
940 stars 269 forks source link

Add GetStatisticsString method to Options #151

Closed bmermet closed 5 years ago

bmermet commented 5 years ago

This PR add a method GetStatisticsString that wraps the rocksdb_options_statistics_get_string function and returns the string representation of the statistics for the db if they have been enabled.