code: func (db *DB) NewIterator() iterator.Iterator {
  	metrics.GetOrRegisterCounter("DB.newiterator", nil).Inc(1)
  
  	return db.ldb.NewIterator(nil, nil)
  }
docs: // NewIterator wraps LevelDB NewIterator method to increment metrics counter.