Is there a way to create a custom SpanAdapter as i...
# koog-agentic-framework
h
Is there a way to create a custom SpanAdapter as it has for
LangfuseSpanAdapter
? I'd like to have the same behavior but for another Tracing tool, The problem is: All the classes that I need to use or extend are internal.
👍 1
v
cc @Sergei Dubov
h
Also, do you guys knowany drawbacks on integrating it with Langsmith ? I meant, I'm doing the same configuration you guys did for Langfuse, but sometimes it takes TOO long to the data arrive in the Langsmith, sometimes it doesn't even reach it
s
Hi @Higor Oliveira ! Thank you for reaching out with this question. You right, in the current version classes for adapters are internal. Initially, we decided to keep it internal as it was used for internal integrations (Langfuse/Weave). We had a discussion about making them public and decided to postpone with it until the upcoming releases and fixing some related issues (KG-265). I think your request is a good push to make them
public
. I will work on that.
🔥 1
Regarding Langsmith integration, it is not an issue that I’m aware of. Do you use
langsmith-java
for integration? How long is the waiting time? I would start with tracing requests to the langsmith url to make sure they are processed correctly.
h
No, I’m using the Otel http span exporter and sending the request directly via api
Time variates a lot, some traces arrive after 2 seconds, 30 seconds, 1K seconds
Some traces don’t even reach langsmith lol