Skip to content

Commit 79c693e

Browse files
committed
Fix FlyweightTraceMethodVisitor
1 parent ec86097 commit 79c693e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

newrelic-agent/src/main/java/com/newrelic/agent/instrumentation/tracing/FlyweightTraceMethodVisitor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ public void handle(AdviceAdapter mv) {
138138
addUnsupportedMethod(map, new Method("addCustomAttribute", "(Ljava/lang/String;Ljava/lang/Number;)V"));
139139
addUnsupportedMethod(map, new Method("addCustomAttribute", "(Ljava/lang/String;Z)V"));
140140
addUnsupportedMethod(map, new Method("addCustomAttributes", "(Ljava/util/Map;)V"));
141-
141+
addUnsupportedMethod(map, new Method("addSpanLink", "(Lcom/newrelic/agent/bridge/opentelemetry/SpanLink;)V"));
142142
map.put(new Method("getParentTracedMethod", "()Lcom/newrelic/agent/bridge/TracedMethod;"), mv -> mv.loadLocal(parentTracerLocal));
143143

144144
return map;

0 commit comments

Comments
 (0)