Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BACKPORT 2024.2][#25775] YSQL: Sticky conn as metrics for prometheus…
… endpoint Summary: Sticky connections were introduced as a new metric in D40484, but were left out from being published to the prometheus endpoint. This patch pushes the same information to the prometheus-metrics endpoint in addition to the pre-existing connections endpoint. Jira: DB-15041 Original commit: 6750c49 / D41484 **Merge conflicts** On master, the file `src/yb/yql/pggate/webserver/pgsql_webserver_wrapper.cc` was renamed to `src/yb/yql/pggate/webserver/ybc_pg_webserver_wrapper.cc`. This change is not present on 2024.2 leading to some merge conflicts - just had to patch the same changes on the appropriate file for this back port diff Test Plan: Jenkins: enable connection manager, all tests Verify that sticky conn metrics are available on prometheus endpoint on a local cluster Reviewers: skumar, mkumar, devansh.saxena, vpatibandla Reviewed By: skumar Subscribers: yql Differential Revision: https://phorge.dev.yugabyte.com/D41546
- Loading branch information