-
Notifications
You must be signed in to change notification settings - Fork 424
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(langchain): drop support for tracing langchain.chains
#12172
chore(langchain): drop support for tracing langchain.chains
#12172
Conversation
|
Datadog ReportBranch report: ✅ 0 Failed, 130 Passed, 1378 Skipped, 5m 9.57s Total duration (35m 0.04s time saved) |
BenchmarksBenchmark execution time: 2025-01-31 14:52:53 Comparing candidate commit 92938e5 in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 394 metrics, 2 unstable metrics. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving to unblock 3.0 but a couple suggestions to add for a follow up PR 🙇
This PR drops support for tracing
langchain.chains
in favor of only tracingRunnableSequence
(LangChain Expression Language - LCEL) chains.High LOC - this PR also re-introduces APM tracing tests for langchain, but removes all cassettes and snapshots related to previous
langchain
patching. We still need to refactorconftest
a bit to be more modern, and re-introduce LLMObs tests. I'm fairly certain those ones are flaky, while the normal APM tests should be OK.Known issue: This PR effectively removes all patching on the
langchain
package, and only patcheslangchain_core
and community and partner libraries. However, to trigger patching, you must still:in order to trigger patching for LangChain. This will be fixed in a patch in
ddtrace
3.x.MLOB-2140
Checklist
Reviewer Checklist