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{
Measure: VMExecutionWaiting,
Aggregation: view.LastValue(),
Aggregation: view.Count(),
TagKeys: []tag.Key{ExecutionLane},
}
VMExecutionRunningView = &view.View{
Measure: VMExecutionRunning,
Aggregation: view.LastValue(),
Aggregation: view.Count(),
TagKeys: []tag.Key{ExecutionLane},
}