From f1630445f03d8b492f819fe369fbf746f1c40087 Mon Sep 17 00:00:00 2001 From: richie Date: Thu, 26 Dec 2024 06:18:32 +0800 Subject: [PATCH] maxclients extracted info all (#968) GCP Redis does not support the config command, making it impossible to retrieve maxclients. It needs to be extracted from info all --- exporter/exporter.go | 1 + 1 file changed, 1 insertion(+) diff --git a/exporter/exporter.go b/exporter/exporter.go index 07cc8055..30cc227d 100644 --- a/exporter/exporter.go +++ b/exporter/exporter.go @@ -134,6 +134,7 @@ func NewRedisExporter(uri string, opts Options) (*Exporter, error) { // # Clients "connected_clients": "connected_clients", "blocked_clients": "blocked_clients", + "maxclients": "max_clients", "tracking_clients": "tracking_clients", "clients_in_timeout_table": "clients_in_timeout_table", "pubsub_clients": "pubsub_clients", // Added in Redis 7.4