add link for metric_names
set class to label-warninging when 0 < retry < max_retry