Maintain strong reference to PoolStats for Micrometer gauges (#1108)
Micrometer's gauges were breaking after the `PoolStats` object they weakly referenced was garbage collected. This change holds a strong reference to the `PoolStats` object in `MicrometerMetricsTracker` to avoid this issue. See http://micrometer.io/docs/concepts#_why_is_my_gauge_reporting_nan_or_disappearingpull/1113/head
parent
6ead232623
commit
3a739210ce
Loading…
Reference in New Issue