Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#23557] Remove empty CatCacheIdMisses_End metric
Summary: `PgPrometheusMetricsHandler` is treating `CatCacheMisses_End` in the `statementType` enum as a metric and publishes these empty metric names: ``` _count{metric_id="yb.ysqlserver",metric_type="server",exported_instance="yb-15-kfranz-catcache-chart-1-n1"} 0 1723844460867 _sum{metric_id="yb.ysqlserver",metric_type="server",exported_instance="yb-15-kfranz-catcache-chart-1-n1"} 0 1723844460867 ``` This revision fixes that behavior, removing the empty metrics. Test Plan: ``` ./yb_build.sh --cxx-test pgwrapper_pg_libpq-test --gtest_filter PgLibPqTest.CatalogCacheIdMissMetricsTest ``` Reviewers: myang Reviewed By: myang Subscribers: yql Differential Revision: https://phorge.dev.yugabyte.com/D37372
- Loading branch information