use Count instead of LastValue

This commit is contained in:
vyzo 2023-03-27 23:11:56 +03:00 committed by Maciej Witowski
parent a71130be9b
commit 03e3f50d60

View File

@ -370,12 +370,12 @@ var (
} }
VMExecutionWaitingView = &view.View{ VMExecutionWaitingView = &view.View{
Measure: VMExecutionWaiting, Measure: VMExecutionWaiting,
Aggregation: view.LastValue(), Aggregation: view.Count(),
TagKeys: []tag.Key{ExecutionLane}, TagKeys: []tag.Key{ExecutionLane},
} }
VMExecutionRunningView = &view.View{ VMExecutionRunningView = &view.View{
Measure: VMExecutionRunning, Measure: VMExecutionRunning,
Aggregation: view.LastValue(), Aggregation: view.Count(),
TagKeys: []tag.Key{ExecutionLane}, TagKeys: []tag.Key{ExecutionLane},
} }