change metric_archive logic

add "setting:" perfix for metric expire
rename GetTime/GetValue/GetTimeValue