Replies: 2 comments
-
|
Have you seen the observability traces built into workflow by chance? When using DurableAgent, the workflow observability built into should give you all the info you're looking for in the spans. we've done some work towards improving the ovservability but definitely lots more left to do as for langfuse setup
|
Beta Was this translation helpful? Give feedback.
-
|
Thanks, makes sense. For DurableAgent, I’ll wait for the built-in telemetry support. Once that’s available, I’ll try adding my own clean Langfuse spans on top. I’m still a bit unsure what the best approach looks like with the workflow constraints, so I’ll experiment then. In the meantime I’ll take a closer look at the built-in WDK observability and whether it can be extended with custom metadata. Ideally I’d like to keep a single place for unified traces/observability, if possible. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I’m integrating Langfuse tracing into WDK workflows and DurableAgents and could use a sanity check on the intended approach.
I’m registering the Langfuse span processor via Next.js instrumentation, and I do see workflow traces arrive in Langfuse. Two issues though:
Workflow traces are too noisy / infra-heavy
Right now I’m getting a large number of WDK infrastructure spans with metadata that’s hard to interpret. What I’d like instead is to define spans/traces explicitly inside the workflow code (and ideally control span “types” / naming / tags), so only the meaningful steps show up with labels I choose.
DurableAgent emits no traces
For DurableAgent I’m currently seeing nothing exported, even though I believe the tracing config is wired correctly. Ideally I’d use the AI SDK integration there to capture the comprehensive model/tool/request metadata without manually adding spans everywhere.
I’ve tried a couple custom approaches, but keep running into issues that seem related to the WDK sandbox constraints.
Questions:
Any pointers, docs, or examples would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions