@@ -61,39 +61,39 @@ func MetricViews(level telemetry.Level) []*view.View {
6161 Measure : statNodesAddedToBatches ,
6262 Description : statNodesAddedToBatches .Description (),
6363 TagKeys : exporterTagKeys ,
64- Aggregation : view .Count (),
64+ Aggregation : view .Sum (),
6565 }
6666
6767 nodesRemovedFromBatchesView := & view.View {
6868 Name : statNodesRemovedFromBatches .Name (),
6969 Measure : statNodesRemovedFromBatches ,
7070 Description : statNodesRemovedFromBatches .Description (),
7171 TagKeys : exporterTagKeys ,
72- Aggregation : view .Count (),
72+ Aggregation : view .Sum (),
7373 }
7474
7575 countBatchSizeTriggerSendView := & view.View {
7676 Name : statBatchSizeTriggerSend .Name (),
7777 Measure : statBatchSizeTriggerSend ,
7878 Description : statBatchSizeTriggerSend .Description (),
7979 TagKeys : tagKeys ,
80- Aggregation : view .Count (),
80+ Aggregation : view .Sum (),
8181 }
8282
8383 countTimeoutTriggerSendView := & view.View {
8484 Name : statTimeoutTriggerSend .Name (),
8585 Measure : statTimeoutTriggerSend ,
8686 Description : statTimeoutTriggerSend .Description (),
8787 TagKeys : tagKeys ,
88- Aggregation : view .Count (),
88+ Aggregation : view .Sum (),
8989 }
9090
9191 countBatchOnDeadNode := & view.View {
9292 Name : statBatchOnDeadNode .Name (),
9393 Measure : statBatchOnDeadNode ,
9494 Description : statBatchOnDeadNode .Description (),
9595 TagKeys : tagKeys ,
96- Aggregation : view .Count (),
96+ Aggregation : view .Sum (),
9797 }
9898
9999 return []* view.View {
0 commit comments