struct Mongo::Monitoring::Commands::CommandStartedEvent
Overview
This event is triggered before sending a command to the server.
Defined in:
cryomongo/monitoring.crInstance Method Summary
-
#address : String
Returns the server address.
-
#command : BSON
Returns the command.
-
#command_name : String
Returns the command name.
-
#database_name : String
Returns the database name.
-
#operation_id : Int64 | Nil
Returns the driver generated operation id.
-
#request_id : Int64
Returns the driver generated request id.
Instance methods inherited from struct Mongo::Monitoring::Commands::Event
initialize
initialize
Constructor methods inherited from struct Mongo::Monitoring::Commands::Event
new
new
Instance Method Detail
def operation_id : Int64 | Nil
#
Returns the driver generated operation id. This is used to link events together such as bulk write operations. OPTIONAL.