lib/mongo/monitoring/event/command_failed.rb
Method initialize
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def initialize(command_name, database_name, address,
request_id, operation_id, message, failure, duration,
started_event:, server_connection_id: nil, service_id: nil
Method generate
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def self.generate(address, operation_id, payload, message,
failure, duration, started_event:, server_connection_id: nil,
service_id: nil