You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: dd-java-agent/instrumentation/sofarpc/sofarpc-5.0/src/main/java/datadog/trace/instrumentation/sofarpc/BoltServerProcessorInstrumentation.java
Copy file name to clipboardExpand all lines: dd-java-agent/instrumentation/sofarpc/sofarpc-5.0/src/main/java/datadog/trace/instrumentation/sofarpc/ProviderProxyInvokerInstrumentation.java
Copy file name to clipboardExpand all lines: dd-java-agent/instrumentation/sofarpc/sofarpc-5.0/src/main/java/datadog/trace/instrumentation/sofarpc/SofaRpcProtocolContext.java
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,13 @@
3
3
/** Thread-local carrier for the SOFA RPC transport protocol name. */
4
4
publicfinalclassSofaRpcProtocolContext {
5
5
6
+
/**
7
+
* Key used to store the transport protocol in {@code SofaRequest.requestProps} for transports
8
+
* that dispatch business logic to a thread pool (e.g. Bolt). Using a request prop instead of a
9
+
* ThreadLocal ensures the value survives the handoff to the worker thread.
0 commit comments