com.zaxxer.hikari.metrics.prometheus.PrometheusMetricsTrackerFactory.class Maven / Gradle / Ivy
???? 4 X Dcom/zaxxer/hikari/metrics/prometheus/PrometheusMetricsTrackerFactory java/lang/Object /com/zaxxer/hikari/metrics/MetricsTrackerFactory $PrometheusMetricsTrackerFactory.java Wcom/zaxxer/hikari/metrics/prometheus/PrometheusMetricsTrackerFactory$RegistrationStatus RegistrationStatus registrationStatuses Ljava/util/Map; ?Ljava/util/Map; collector 8Lcom/zaxxer/hikari/metrics/prometheus/HikariCPCollector; collectorRegistry (Lio/prometheus/client/CollectorRegistry; ()V &io/prometheus/client/CollectorRegistry defaultRegistry +(Lio/prometheus/client/CollectorRegistry;)V
this FLcom/zaxxer/hikari/metrics/prometheus/PrometheusMetricsTrackerFactory;
6com/zaxxer/hikari/metrics/prometheus/HikariCPCollector
! # % create d(Ljava/lang/String;Lcom/zaxxer/hikari/metrics/PoolStats;)Lcom/zaxxer/hikari/metrics/IMetricsTracker; registerCollector K(Lio/prometheus/client/Collector;Lio/prometheus/client/CollectorRegistry;)V ) *
+ add :(Ljava/lang/String;Lcom/zaxxer/hikari/metrics/PoolStats;)V - .
! / =com/zaxxer/hikari/metrics/prometheus/PrometheusMetricsTracker 1 u(Ljava/lang/String;Lio/prometheus/client/CollectorRegistry;Lcom/zaxxer/hikari/metrics/prometheus/HikariCPCollector;)V 3
2 4 poolName Ljava/lang/String; poolStats %Lcom/zaxxer/hikari/metrics/PoolStats; :
REGISTERED YLcom/zaxxer/hikari/metrics/prometheus/PrometheusMetricsTrackerFactory$RegistrationStatus; <