internal/worker: fix unprocessed-modules aggregation
The Count aggregation is the number of data points recorded. We
want the actual value.
Trust: Jonathan Amsterdam
Run-TryBot: Jonathan Amsterdam
TryBot-Result: kokoro
@@ -53,7 +53,7 @@ var (
UnprocessedModules = &view.View{
Name: "go-discovery/unprocessed_modules/count",
Measure: unprocessedModules,
- Aggregation: view.Count(),
+ Aggregation: view.LastValue(),
Description: "number of unprocessed modules",
}
)
