File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
core-io/src/main/java/com/couchbase/client/core/cnc Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 1818
1919import com .couchbase .client .core .CoreContext ;
2020import com .couchbase .client .core .annotation .Stability ;
21+ import com .couchbase .client .core .annotation .UsedBy ;
2122import com .couchbase .client .core .cnc .tracing .NoopRequestSpan ;
2223import com .couchbase .client .core .cnc .tracing .NoopRequestTracer ;
2324import com .couchbase .client .core .cnc .tracing .ThresholdLoggingTracer ;
2728import java .util .EnumMap ;
2829import java .util .Map ;
2930
31+ import static com .couchbase .client .core .annotation .UsedBy .Project .SPRING_DATA_COUCHBASE ;
3032import static java .util .Collections .unmodifiableMap ;
3133
3234@ Stability .Internal
@@ -61,6 +63,7 @@ public static boolean isInternalSpan(final RequestSpan span) {
6163 * Returns a new span with the `db.system` attribute set to `couchbase`.
6264 * @param parent (nullable)
6365 */
66+ @ UsedBy (SPRING_DATA_COUCHBASE )
6467 public static RequestSpan newSpan (CoreContext coreContext , String spanName , RequestSpan parent ) {
6568 return newSpan (coreContext .environment ().requestTracer (), spanName , parent );
6669 }
You can’t perform that action at this time.
0 commit comments