Class TracingDecorator
java.lang.Object
com.couchbase.client.core.cnc.tracing.TracingDecorator
Decorates spans with the correct attributes, based on what ObservabilitySemanticConvention(s) the user has chosen.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprovideAttr(TracingAttribute attribute, RequestSpan span, boolean value) voidprovideAttr(TracingAttribute attribute, RequestSpan span, long value) voidprovideAttr(TracingAttribute attribute, RequestSpan span, String value) voidprovideCommonDispatchSpanAttributes(RequestSpan span, String localId, String localHost, int localPort, String remoteCanonicalHost, int remoteCanonicalPort, String remoteActualHost, int remoteActualPort, String operationId) voidprovideLowCardinalityAttr(TracingAttribute attribute, RequestSpan span, String value) voidprovideManagerOrActualService(RequestSpan span, String actualService) voidprovideQueryStatementIfSafe(TracingAttribute attribute, RequestSpan span, String value, boolean parametersUsed)
-
Constructor Details
-
TracingDecorator
-
-
Method Details
-
provideAttr
-
provideAttr
-
provideAttr
-
provideLowCardinalityAttr
-
provideQueryStatementIfSafe
public void provideQueryStatementIfSafe(TracingAttribute attribute, RequestSpan span, String value, boolean parametersUsed) -
provideCommonDispatchSpanAttributes
-
provideManagerOrActualService
-