You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`TransactionsProcessed`|`Shard`, `Type`| Counts transactions processed at VTGate by shard distribution and transaction type. |[#18171](https://github.com/vitessio/vitess/pull/18171)|
Copy file name to clipboardExpand all lines: go/vt/vtgate/executor.go
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -75,6 +75,7 @@ var (
75
75
queryExecutions=stats.NewCountersWithMultiLabels("QueryExecutions", "Counts queries executed at VTGate by query type, plan type, and tablet type.", []string{"Query", "Plan", "Tablet"})
76
76
queryRoutes=stats.NewCountersWithMultiLabels("QueryRoutes", "Counts queries routed from VTGate to VTTablet by query type, plan type, and tablet type.", []string{"Query", "Plan", "Tablet"})
77
77
queryExecutionsByTable=stats.NewCountersWithMultiLabels("QueryExecutionsByTable", "Counts queries executed at VTGate per table by query type and table.", []string{"Query", "Table"})
78
+
txProcessed=stats.NewCountersWithMultiLabels("TransactionsProcessed", "Counts transactions processed at VTGate by shard distribution (single or cross), transaction type (read write or read only)", []string{"Shard", "Type"})
78
79
79
80
// commitMode records the timing of the commit phase of a transaction.
80
81
// It also tracks between different transaction mode i.e. Single, Multi and TwoPC
0 commit comments