How can I capture all queries?

Hi all,

When a query fails, we see the following:

lastDispatchedTo":"xxx","requestId":62956,"requestType":"QueryRequest"...

Where lastDispatchedTo is the node where the query was sent

Is there any built-in mechanism to capture this information for all the queries including successful requests? Ideally at the client side as I cannot change it at the server side

Please refer to Request Tracing | Couchbase Docs

1 Like