forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
130892: ccl/sqlproxyccl: add proxy.sql.routing_method_count metric r=jaylim-crl a=jaylim-crl Previously, it was not possible to determine the distribution of users connecting to the proxy via SNI, database, or cluster option (via the options parameter). This commit introduces a `proxy.sql.routing_method_count` metric to record the number of occurrences of each proxy routing method. Only successful parsing will be recorded; if a user provides invalid input, it will not be tracked. This enhancement allows us to monitor and understand which method was used by the proxy to retrieve the cluster identifier. Epic: [CC-6926](https://cockroachlabs.atlassian.net/browse/CC-6926) Release note: None Co-authored-by: Jay <[email protected]>
- Loading branch information
Showing
4 changed files
with
109 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters