com.zaxxer.hikari.metrics.prometheus.PrometheusHistogramMetricsTracker.class Maven / Gradle / Ivy
???? 4 ? Fcom/zaxxer/hikari/metrics/prometheus/PrometheusHistogramMetricsTracker java/lang/Object )com/zaxxer/hikari/metrics/IMetricsTracker &PrometheusHistogramMetricsTracker.java "io/prometheus/client/Counter$Child io/prometheus/client/Counter
Child Wcom/zaxxer/hikari/metrics/prometheus/PrometheusMetricsTrackerFactory$RegistrationStatus
Dcom/zaxxer/hikari/metrics/prometheus/PrometheusMetricsTrackerFactory RegistrationStatus $io/prometheus/client/Histogram$Child io/prometheus/client/Histogram &io/prometheus/client/Histogram$Builder Builder $io/prometheus/client/Counter$Builder ,io/prometheus/client/SimpleCollector$Builder $io/prometheus/client/SimpleCollector CONNECTION_TIMEOUT_COUNTER Lio/prometheus/client/Counter; ELAPSED_ACQUIRED_HISTOGRAM Lio/prometheus/client/Histogram; ELAPSED_BORROWED_HISTOGRAM ELAPSED_CREATION_HISTOGRAM connectionTimeoutCounterChild $Lio/prometheus/client/Counter$Child; registrationStatuses Ljava/util/Map; ?Ljava/util/Map; poolName Ljava/lang/String; hikariCPCollector 8Lcom/zaxxer/hikari/metrics/prometheus/HikariCPCollector; elapsedAcquiredHistogramChild &Lio/prometheus/client/Histogram$Child; elapsedBorrowedHistogramChild elapsedCreationHistogramChild registerHistogram G(Ljava/lang/String;Ljava/lang/String;D)Lio/prometheus/client/Histogram; build *()Lio/prometheus/client/Histogram$Builder; 4 5
6 name B(Ljava/lang/String;)Lio/prometheus/client/SimpleCollector$Builder; 8 9
: java/lang/String < pool >
labelNames C([Ljava/lang/String;)Lio/prometheus/client/SimpleCollector$Builder; @ A
B help D 9
E@ exponentialBuckets -(DDI)Lio/prometheus/client/Histogram$Builder; I J
K create "()Lio/prometheus/client/Histogram; M N
O bucketStart D u(Ljava/lang/String;Lio/prometheus/client/CollectorRegistry;Lcom/zaxxer/hikari/metrics/prometheus/HikariCPCollector;)V ()V S U
V registerMetrics +(Lio/prometheus/client/CollectorRegistry;)V X Y
Z * + \ , - ^ ` labels '([Ljava/lang/String;)Ljava/lang/Object; b c
d % & f ! " h
d . / k # " m 0 / o $ " q 1 / s this HLcom/zaxxer/hikari/metrics/prometheus/PrometheusHistogramMetricsTracker; collectorRegistry (Lio/prometheus/client/CollectorRegistry; ' ( y
REGISTERED YLcom/zaxxer/hikari/metrics/prometheus/PrometheusMetricsTrackerFactory$RegistrationStatus; { | }
java/util/Map putIfAbsent 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; ? ? ? ? register J(Lio/prometheus/client/CollectorRegistry;)Lio/prometheus/client/Collector; ? ?
?
? recordConnectionAcquiredNanos (J)V observe (D)V ? ?
? elapsedAcquiredNanos J recordConnectionUsageMillis elapsedBorrowedMillis recordConnectionCreatedMillis connectionCreatedMillis recordConnectionTimeout inc ? U
? close 6com/zaxxer/hikari/metrics/prometheus/HikariCPCollector ? remove (Ljava/lang/String;)V ? ?
? ? ([Ljava/lang/String;)V ? ?
?
? (()Lio/prometheus/client/Counter$Builder; 4 ?
? !hikaricp_connection_timeout_total ?
:
B Connection timeout total count ?
E ()Lio/prometheus/client/Counter; M ?
? "hikaricp_connection_acquired_nanos ? Connection acquired time (ns) ?@?@ 2 3
? hikaricp_connection_usage_millis ? Connection usage (ms) ? #hikaricp_connection_creation_millis ? Connection creation (ms) ? &java/util/concurrent/ConcurrentHashMap ?
? V Signature Code LineNumberTable LocalVariableTable
StackMapTable InnerClasses
SourceFile ! " # " $ " % &