metrics: gofmt

This commit is contained in:
Łukasz Magiera 2020-08-28 11:51:51 +02:00
parent 64768f093d
commit 9f4506bda5

View File

@ -84,7 +84,7 @@ var (
Aggregation: defaultMillisecondsDistribution, Aggregation: defaultMillisecondsDistribution,
} }
MessagePublishedView = &view.View{ MessagePublishedView = &view.View{
Measure: MessagePublished, Measure: MessagePublished,
Aggregation: view.Count(), Aggregation: view.Count(),
} }
MessageReceivedView = &view.View{ MessageReceivedView = &view.View{
@ -105,31 +105,31 @@ var (
Aggregation: view.LastValue(), Aggregation: view.LastValue(),
} }
PubsubPublishMessageView = &view.View{ PubsubPublishMessageView = &view.View{
Measure: PubsubPublishMessage, Measure: PubsubPublishMessage,
Aggregation: view.Count(), Aggregation: view.Count(),
} }
PubsubDeliverMessageView = &view.View{ PubsubDeliverMessageView = &view.View{
Measure: PubsubDeliverMessage, Measure: PubsubDeliverMessage,
Aggregation: view.Count(), Aggregation: view.Count(),
} }
PubsubRejectMessageView = &view.View{ PubsubRejectMessageView = &view.View{
Measure: PubsubRejectMessage, Measure: PubsubRejectMessage,
Aggregation: view.Count(), Aggregation: view.Count(),
} }
PubsubDuplicateMessageView = &view.View{ PubsubDuplicateMessageView = &view.View{
Measure: PubsubDuplicateMessage, Measure: PubsubDuplicateMessage,
Aggregation: view.Count(), Aggregation: view.Count(),
} }
PubsubRecvRPCView = &view.View{ PubsubRecvRPCView = &view.View{
Measure: PubsubRecvRPC, Measure: PubsubRecvRPC,
Aggregation: view.Count(), Aggregation: view.Count(),
} }
PubsubSendRPCView = &view.View{ PubsubSendRPCView = &view.View{
Measure: PubsubSendRPC, Measure: PubsubSendRPC,
Aggregation: view.Count(), Aggregation: view.Count(),
} }
PubsubDropRPCView = &view.View{ PubsubDropRPCView = &view.View{
Measure: PubsubDropRPC, Measure: PubsubDropRPC,
Aggregation: view.Count(), Aggregation: view.Count(),
} }
) )