From 610fc3f647174d9415eafa55763f5c2758c0cad8 Mon Sep 17 00:00:00 2001 From: Tim Vaillancourt Date: Tue, 8 Oct 2024 19:15:22 +0200 Subject: [PATCH] `slack-15.0`: Add sql text counts stats to `vtcombo`,`vtgate`+`vttablet` (vitessio#15897) (#525) * `slack-15.0`: Add sql text counts stats to `vtcombo`,`vtgate`+`vttablet` (#15897) Signed-off-by: Tim Vaillancourt Signed-off-by: Harshit Gangal Co-authored-by: Harshit Gangal Co-authored-by: Deepthi Sigireddi * Update help as well Signed-off-by: Tim Vaillancourt --------- Signed-off-by: Tim Vaillancourt Signed-off-by: Harshit Gangal Co-authored-by: Harshit Gangal Co-authored-by: Deepthi Sigireddi --- go/vt/vtgate/vtgate.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/go/vt/vtgate/vtgate.go b/go/vt/vtgate/vtgate.go index 9545ac7fd87..87f5c696ae5 100644 --- a/go/vt/vtgate/vtgate.go +++ b/go/vt/vtgate/vtgate.go @@ -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),