#NEWLINE# def get_stats_index_hit_rates( db_connection ) : #NEWLINE# #INDENT# index_hit_rates = get_index_hit_rates ( db_connection ) #NEWLINE# metrics = [ ] #NEWLINE# for ( db_name , table_name , index_hit_ratio ) in index_hit_rates : #NEWLINE# #INDENT# if ( index_hit_ratio is not None ) : #NEWLINE# #INDENT# metrics . append ( metric_index_hit_ratio ( index_hit_ratio , table_name , index_hit_ratio ) ) #NEWLINE# #UNINDENT# #UNINDENT# return metrics