We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cbe182d commit b765b79Copy full SHA for b765b79
1 file changed
internal-api/src/main/java/datadog/trace/bootstrap/instrumentation/api/ProfilerContext.java
@@ -21,4 +21,14 @@ public interface ProfilerContext {
21
int getEncodedResourceName();
22
23
CharSequence getResourceName();
24
+
25
+ /** Java thread ID of the thread that finished this span (captured at span finish time). */
26
+ default long getExecutionThreadId() {
27
+ return 0;
28
+ }
29
30
+ /** Name of the thread that finished this span (captured at span finish time). */
31
+ default String getExecutionThreadName() {
32
+ return "";
33
34
}
0 commit comments