com.zaxxer.hikari.metrics.prometheus.PrometheusMetricsTracker.class Maven / Gradle / Ivy
???? 4 ? =com/zaxxer/hikari/metrics/prometheus/PrometheusMetricsTracker java/lang/Object )com/zaxxer/hikari/metrics/IMetricsTracker PrometheusMetricsTracker.java Wcom/zaxxer/hikari/metrics/prometheus/PrometheusMetricsTrackerFactory$RegistrationStatus Dcom/zaxxer/hikari/metrics/prometheus/PrometheusMetricsTrackerFactory
RegistrationStatus "io/prometheus/client/Counter$Child
io/prometheus/client/Counter Child "io/prometheus/client/Summary$Child io/prometheus/client/Summary $io/prometheus/client/Summary$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_SUMMARY Lio/prometheus/client/Summary; ELAPSED_USAGE_SUMMARY ELAPSED_CREATION_SUMMARY registrationStatuses Ljava/util/Map; ?Ljava/util/Map; poolName Ljava/lang/String; hikariCPCollector 8Lcom/zaxxer/hikari/metrics/prometheus/HikariCPCollector; connectionTimeoutCounterChild $Lio/prometheus/client/Counter$Child; elapsedAcquiredSummaryChild $Lio/prometheus/client/Summary$Child; elapsedUsageSummaryChild elapsedCreationSummaryChild u(Ljava/lang/String;Lio/prometheus/client/CollectorRegistry;Lcom/zaxxer/hikari/metrics/prometheus/HikariCPCollector;)V ()V 2 4
5 registerMetrics +(Lio/prometheus/client/CollectorRegistry;)V 7 8
9 ( ) ; * + = ? java/lang/String A labels '([Ljava/lang/String;)Ljava/lang/Object; C D
E , - G ! " I
E . / L # " N 0 / P $ " R 1 / T this ?Lcom/zaxxer/hikari/metrics/prometheus/PrometheusMetricsTracker; collectorRegistry (Lio/prometheus/client/CollectorRegistry; % & Z
REGISTERED YLcom/zaxxer/hikari/metrics/prometheus/PrometheusMetricsTrackerFactory$RegistrationStatus; \ ] ^
java/util/Map ` putIfAbsent 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; b c a d register J(Lio/prometheus/client/CollectorRegistry;)Lio/prometheus/client/Collector; f g
h
h recordConnectionAcquiredNanos (J)V observe (D)V m n
o elapsedAcquiredNanos J recordConnectionUsageMillis elapsedBorrowedMillis recordConnectionCreatedMillis connectionCreatedMillis recordConnectionTimeout inc x 4
y
createSummary D(Ljava/lang/String;Ljava/lang/String;)Lio/prometheus/client/Summary; build (()Lio/prometheus/client/Summary$Builder; } ~
name B(Ljava/lang/String;)Lio/prometheus/client/SimpleCollector$Builder; ? ?
? pool ?
labelNames C([Ljava/lang/String;)Lio/prometheus/client/SimpleCollector$Builder; ? ?
? help ? ?
??? ???????? quantile *(DD)Lio/prometheus/client/Summary$Builder; ? ?
???ffffff??z?G?{??z?G??PbM??? java/util/concurrent/TimeUnit ? MINUTES Ljava/util/concurrent/TimeUnit; ? ? ? ? toSeconds (J)J ? ?
? ?
maxAgeSeconds )(J)Lio/prometheus/client/Summary$Builder; ? ?
?
ageBuckets )(I)Lio/prometheus/client/Summary$Builder; ? ?
? create ()Lio/prometheus/client/Summary; ? ?
? close 6com/zaxxer/hikari/metrics/prometheus/HikariCPCollector ? remove (Ljava/lang/String;)V ? ?
? ? ([Ljava/lang/String;)V ? ?
?
? (()Lio/prometheus/client/Counter$Builder; } ?
? !hikaricp_connection_timeout_total ?
?
? Connection timeout total count ?
? ()Lio/prometheus/client/Counter; ? ?
? "hikaricp_connection_acquired_nanos ? Connection acquired time (ns) ? { |
? hikaricp_connection_usage_millis ? Connection usage (ms) ? #hikaricp_connection_creation_millis ? Connection creation (ms) ? &java/util/concurrent/ConcurrentHashMap ?
? 5 Signature Code LineNumberTable LocalVariableTable
StackMapTable InnerClasses
SourceFile ! " # " $ " % &