void registerColumnFamily ( String columnFamilyName , ColumnFamilyHandle handle ) { MetricGroup group = metricGroup . addGroup ( columnFamilyName ) ; for ( String property : options . getProperties ( ) ) { RocksDBNativeMetricView gauge = new RocksDBNativeMetricView ( handle , property ) ; group . gauge ( property , gauge ) ; } }
Register gauges to pull native metrics for the column family .