Skip to content

Commit

Permalink
slack-15.0: Add sql text counts stats to vtcombo,vtgate+`vttabl…
Browse files Browse the repository at this point in the history
…et` (vitessio#15897) (#525)

* `slack-15.0`: Add sql text counts stats to `vtcombo`,`vtgate`+`vttablet` (vitessio#15897)

Signed-off-by: Tim Vaillancourt <[email protected]>
Signed-off-by: Harshit Gangal <[email protected]>
Co-authored-by: Harshit Gangal <[email protected]>
Co-authored-by: Deepthi Sigireddi <[email protected]>

* Update help as well

Signed-off-by: Tim Vaillancourt <[email protected]>

---------

Signed-off-by: Tim Vaillancourt <[email protected]>
Signed-off-by: Harshit Gangal <[email protected]>
Co-authored-by: Harshit Gangal <[email protected]>
Co-authored-by: Deepthi Sigireddi <[email protected]>
  • Loading branch information
3 people authored Oct 8, 2024
1 parent f552c6f commit 610fc3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions go/vt/vtgate/vtgate.go
Original file line number Diff line number Diff line change
Expand Up @@ -306,8 +306,8 @@ func Init(
"Rows affected by a write (DML) operation through the VTgate API",
[]string{"Operation", "Keyspace", "DbType"}),
queryTextCharsProcessed: stats.NewCountersWithMultiLabels(
"VtgateSQLTextCounts",
"Vtgate API query SQL text counts",
"VtgateQueryTextCharactersProcessed",
"Query text characters processed through the VTGate API",
[]string{"Operation", "Keyspace", "DbType"}),

logExecute: logutil.NewThrottledLogger("Execute", 5*time.Second),
Expand Down

0 comments on commit 610fc3f

Please sign in to comment.