From 016c5979eafbe06fd169cd1935b22b25f3c3cb8b Mon Sep 17 00:00:00 2001 From: Tim Vaillancourt Date: Tue, 4 Jun 2024 06:43:26 +0200 Subject: [PATCH 1/2] `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 --- go/vt/vtgate/vtgate.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/vt/vtgate/vtgate.go b/go/vt/vtgate/vtgate.go index 9545ac7fd87..95ac2cad058 100644 --- a/go/vt/vtgate/vtgate.go +++ b/go/vt/vtgate/vtgate.go @@ -306,7 +306,7 @@ func Init( "Rows affected by a write (DML) operation through the VTgate API", []string{"Operation", "Keyspace", "DbType"}), queryTextCharsProcessed: stats.NewCountersWithMultiLabels( - "VtgateSQLTextCounts", + "VtgateQueryTextCharactersProcessed", "Vtgate API query SQL text counts", []string{"Operation", "Keyspace", "DbType"}), From 66f5888580bcaf3d475087e9bcd3ee22244bee4f Mon Sep 17 00:00:00 2001 From: Tim Vaillancourt Date: Thu, 3 Oct 2024 20:20:57 +0200 Subject: [PATCH 2/2] Update help as well Signed-off-by: Tim Vaillancourt --- go/vt/vtgate/vtgate.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/vt/vtgate/vtgate.go b/go/vt/vtgate/vtgate.go index 95ac2cad058..87f5c696ae5 100644 --- a/go/vt/vtgate/vtgate.go +++ b/go/vt/vtgate/vtgate.go @@ -307,7 +307,7 @@ func Init( []string{"Operation", "Keyspace", "DbType"}), queryTextCharsProcessed: stats.NewCountersWithMultiLabels( "VtgateQueryTextCharactersProcessed", - "Vtgate API query SQL text counts", + "Query text characters processed through the VTGate API", []string{"Operation", "Keyspace", "DbType"}), logExecute: logutil.NewThrottledLogger("Execute", 5*time.Second),