-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#18805] yugabyted: Add ysql connection manager stats to metrics snap…
…shotter Summary: Added some ysql connection manager stats to the tserver metrics snapshotter. The metrics are enabled when `ysql_conn_mgr` is added to the `metrics_snapshotter_tserver_metrics_whitelist` gflag. The recorded metrics are the total number of logical connections and total number of physical connections. In order to access the shared memory where the connection manager stats are stored from the tserver, a shared memory key is needed. This key is passed in to the tserver and stored in a new member variable. Jira: DB-7685 Test Plan: no test plan Reviewers: nikhil, hsunder Reviewed By: hsunder Subscribers: hsunder, janand, ybase, yugabyted-dev, bogdan, djiang Differential Revision: https://phorge.dev.yugabyte.com/D29618
- Loading branch information
1 parent
80a2c74
commit f272ccb
Showing
4 changed files
with
107 additions
and
13 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