Looking for a way to wrap the client by a code (go sdk v1.6.7) that will report ops metrics to ES APM.
Looking at the sdk docs, all i found is a sample of using the thresholdtracer. In theory i can provide the
cluster.SetTracer method an instance of apmot tracer (https://www.elastic.co/guide/en/apm/agent/go/current/opentracing.html) but the problem with that is that I’m loosing the request context.
I want my tracer to create a new span on every Couchbase op but still maintains my transactions context - a new one is created on every call to one of my server’s routes.