Hi, in the light of my previous question, I got the annotation working by calling forceFlush() before the mutation, thanks! But I was wondering if there is a way to annotate a specific LangGraph node from the trace instead of creating a custom span? I tried using trace.getActiveSpan() inside LangGraph node to fetch the judge node created by it but its not accessible. I tried implementing a BaseCallbackHandler attached to the graph invocation which filters by node name and tries to capture the span inside the callback context but that didnt work. Is there a better approach to annotate the LangChainInstrumentation node or capture its id?
Appreciate any help I can get, thanks! ๐