diff --git a/metrics/metrics.go b/metrics/metrics.go index 465fab63d..58d235ace 100644 --- a/metrics/metrics.go +++ b/metrics/metrics.go @@ -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}, }