refactor: split MetricsViewModel
state updates
#1375
Merged
MetricsViewModel
state updates
#1375