• Oswaldo Ferreira's avatar
    Add Redis logs for each Redis instance · 6236a33a
    Oswaldo Ferreira authored
    It introduces detailed logs for each Redis instance.
    
    Before this change, we used to have just the following
    Redis logs for API, Sidekiq and Web requests:
    
    - redis_calls
    - redis_duration_s
    - redis_read_bytes
    - redis_write_bytes
    
    Here we introduce the following (when > 0):
    
    - redis_action_cable_calls
    - redis_action_cable_duration_s
    - redis_action_cable_read_bytes
    - redis_action_cable_write_bytes
    - redis_cache_calls
    - redis_cache_duration_s
    - redis_cache_read_bytes
    - redis_cache_write_bytes
    - redis_queues_calls
    - redis_queues_duration_s
    - redis_queues_read_bytes
    - redis_queues_write_bytes
    - redis_shared_state_calls
    - redis_shared_state_duration_s
    - redis_shared_state_read_bytes
    - redis_shared_state_write_bytes
    
    That's valuable information about how GitLab
    use Redis instances.
    6236a33a
redis_payload.rb 956 Bytes