OTEL extension instrumentation on mongo driver

Hi, I am building an open telemetry extension on mongo java driver. My use case is that I need to figure out where I could get a handle on the result from mongo. Basically what I am doing is simulating the mongo responses, for that I need to insert my own result instead of mongo driver getting me the result from DB.

Now I am just looking at if there’s a single place I can do such a thing for all types of commands, like Read/Write. Or if every command has a different way of giving output. Please do suggest some code pointers for this. Thanks.