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