Identify KV operation performed by SDK on couchbase

Hi

Is there any option to Identify KV operation performed by SDK on couchbase server
Either by UI or logs or keyspaces from server side

Well depends exactly what you mean by ‘identify’. For tracking an individual KV operation in detail, the tool of choice is OpenTelemetry tracing, which you add on the SDK side. Please see docs on getting started:

This is for Java SDK but there are similar docs for each SDK.

AFAIK, everything collated on the server-side will be somewhat aggregated. If you’re looking for histograms of aggregated KV operation durations, that sort of thing - that is certainly available.

If you’re using one of the JVM SDKs (Java, Scala or Kotlin), you might be interested in this GitHub - couchbaselabs/couchbase-jvm-sdk-inmemory-tracer: A simple diagnostic tracer that captures the Couchbase JVM SDK's OpenTelemetry tracing ? It uses the OpenTelemetry support to do various useful things, which can (optionally) include writing details of each individual operation to a file.

It doesn’t do anything you can’t do with OpenTelemetry already - but might make it easy to get started, and demonstrate what OTel can provide.

@graham.pople Thanks for your guidence

If Audit enabled each service might do audit log