use Count instead of LastValue

This commit is contained in:
vyzo 2023-03-27 23:11:56 +03:00
parent ddebdfb37c
commit a0f908da57

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},
} }