public class PrometheusMetricsTrackerFactory extends Object implements MetricsTrackerFactory
HikariConfig config = new HikariConfig();
config.setMetricsTrackerFactory(new PrometheusMetricsTrackerFactory());
| Constructor and Description |
|---|
PrometheusMetricsTrackerFactory() |
public MetricsTracker create(String poolName, PoolStats poolStats)
MetricsTrackerFactorycreate in interface MetricsTrackerFactorypoolName - the name of the poolpoolStats - a PoolStats instance to useCopyright © 2017 Zaxxer.com. All Rights Reserved.