Skip to content

Commit

Permalink
add TotalCreateTransferTx to non buffer metric
Browse files Browse the repository at this point in the history
  • Loading branch information
lil5 committed Dec 19, 2024
1 parent 007586c commit e1feb12
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions grpc/routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ func (s *App) CreateTransfers(ctx context.Context, in *proto.CreateTransfersRequ
} else {
var results []types.TransferEventResult
metrics.TotalTbCreateTransfersCall.Inc()
metrics.TotalCreateTransferTx.Add(float64(len(transfers)))
results, err = s.TB.CreateTransfers(transfers)
replies = ResultsToReply(results, transfers, err)
metrics.TotalCreateTransferTxErr.Add(float64(len(replies)))
Expand Down

0 comments on commit e1feb12

Please sign in to comment.