Skip to content

Commit

Permalink
correctly pick up client_recent_max_output_buffer, client_recent_max_…
Browse files Browse the repository at this point in the history
…input_buffer metrics (oliver006#334)
  • Loading branch information
oliver006 authored Nov 15, 2019
1 parent 97389d2 commit e15c7d2
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,10 +178,16 @@ func NewRedisExporter(redisURI string, opts ExporterOptions) (*Exporter, error)
"process_id": "process_id",

// # Clients
"connected_clients": "connected_clients",
"connected_clients": "connected_clients",
"blocked_clients": "blocked_clients",

// redis 2,3,4.x
"client_longest_output_list": "client_longest_output_list",
"client_biggest_input_buf": "client_biggest_input_buf",
"blocked_clients": "blocked_clients",

// the above two metrics were renamed in redis 5.x
"client_recent_max_output_buffer": "client_recent_max_output_buffer_bytes",
"client_recent_max_input_buffer": "client_recent_max_input_buffer_bytes",

// # Memory
"allocator_active": "allocator_active_bytes",
Expand Down

0 comments on commit e15c7d2

Please sign in to comment.