Skip to content

Commit

Permalink
maxclients extracted info all
Browse files Browse the repository at this point in the history
GCP Redis does not support the config command, making it impossible to retrieve maxclients. It needs to be extracted from info all
  • Loading branch information
liuqian1990 authored Dec 25, 2024
1 parent e2bb7fd commit 7864ea1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions exporter/exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7864ea1

Please sign in to comment.