Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…1084) The SQL pool gauge metrics are disappearing due to the adhoc gauge objects being garbage collected. This change fixes the pool metrics to be class variables instead and hence avoid being garbage collected. The micrometer docs also alludes to this issue: https://micrometer.io/docs/concepts#_why_is_my_gauge_reporting_nan_or_disappearing (cherry picked from commit 032fc2d) Co-authored-by: Amit Saha <[email protected]>
- Loading branch information