There is a parameter for N1QL that allows for disabling the sending of metrics. It's covered in the N1QL Query API Request Parameters. It would be good to add this to the N1qlParams to be able to save transport/memory for situations where it's not needed.
I checked with Keshav Murthy and the param has been available since 4.0, but isn't currently in the docs on developer.couchbase.com. He'll handle documentation on it in the future.
|Field||Original Value||New Value|
|Fix Version/s||2.3.0 [ 12920 ]|
|Status||New [ 10003 ]||Open [ 1 ]|
|Status||Open [ 1 ]||In Progress [ 3 ]|
|Resolution||Fixed [ 1 ]|
|Status||In Progress [ 3 ]||Resolved [ 5 ]|