MetricsTrackerFactorypublic class PrometheusMetricsTrackerFactory extends Object implements MetricsTrackerFactory
HikariConfig config = new HikariConfig();
config.setMetricsTrackerFactory(new PrometheusMetricsTrackerFactory());
| Constructor | Description |
|---|---|
PrometheusMetricsTrackerFactory() |
| Modifier and Type | Method | Description |
|---|---|---|
IMetricsTracker |
create(String poolName,
PoolStats poolStats) |
Create an instance of an IMetricsTracker.
|
public IMetricsTracker 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.