@@ -50,6 +50,12 @@ pub enum RelayGauges {
5050 /// The number of idle connections in the Redis Pool.
5151 #[ cfg( feature = "processing" ) ]
5252 RedisPoolIdleConnections ,
53+ /// The maximum number of connections in the Redis pool.
54+ #[ cfg( feature = "processing" ) ]
55+ RedisPoolMaxConnections ,
56+ /// The number of futures waiting to grab a connection.
57+ #[ cfg( feature = "processing" ) ]
58+ RedisPoolWaitingForConnection ,
5359 /// The number of notifications in the broadcast channel of the project cache.
5460 ProjectCacheNotificationChannel ,
5561 /// The number of scheduled and in progress fetches in the project cache.
@@ -88,6 +94,10 @@ impl GaugeMetric for RelayGauges {
8894 RelayGauges :: RedisPoolConnections => "redis.pool.connections" ,
8995 #[ cfg( feature = "processing" ) ]
9096 RelayGauges :: RedisPoolIdleConnections => "redis.pool.idle_connections" ,
97+ #[ cfg( feature = "processing" ) ]
98+ RelayGauges :: RedisPoolMaxConnections => "redis.pool.max_connections" ,
99+ #[ cfg( feature = "processing" ) ]
100+ RelayGauges :: RedisPoolWaitingForConnection => "redis.pool.waiting_for_connection" ,
91101 RelayGauges :: ProjectCacheNotificationChannel => {
92102 "project_cache.notification_channel.size"
93103 }
0 commit comments