Description
It is common for tracing systems, such as OpenTelemetry, to reduce the (not insignificant) load created by tracing by using switches or sampling. In these cases, they will reduce heap allocations by returning null for spans/activities rather than allocating objects on the heap every time. The Couchbase SDK should respect that by also avoiding heap allocations.