Skip to content

Commit 7864ea1

Browse files
authored
maxclients extracted info all
GCP Redis does not support the config command, making it impossible to retrieve maxclients. It needs to be extracted from info all
1 parent e2bb7fd commit 7864ea1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

exporter/exporter.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ func NewRedisExporter(uri string, opts Options) (*Exporter, error) {
134134
// # Clients
135135
"connected_clients": "connected_clients",
136136
"blocked_clients": "blocked_clients",
137+
"maxclients": "max_clients",
137138
"tracking_clients": "tracking_clients",
138139
"clients_in_timeout_table": "clients_in_timeout_table",
139140
"pubsub_clients": "pubsub_clients", // Added in Redis 7.4

0 commit comments

Comments
 (0)