Hey everyone 馃憢 I'm working on adding custom tracing for Agno workflows using OpenInference. It鈥檚 been smooth so far鈥攊nstrumenting agents and tools is straightforward by subclassing BaseInstrumentor and extending the wrappers provided in the Agno module (like _FunctionCallWrapper).
However, I鈥檝e hit a challenge when trying to trace Agno鈥檚 KnowledgeTools methods (search, think, analyze). Since there鈥檚 no existing wrapper for KnowledgeTools in OpenInference, it鈥檚 tricky to emit structured spans, especially when I want to capture and inspect the retrieved document chunks.
I鈥檝e opened an issue here with more context: https://github.com/Arize-ai/openinference/issues/1770
Does anyone have suggestions鈥攐r even a hacky workaround鈥攆or tracing KnowledgeTools properly until a native wrapper is available?
Thanks in advance!