Skip to content

LangSmith Integration Docs#402

Merged
Angus Jelinek (angus-langchain) merged 5 commits into
mainfrom
angus/otel
Sep 8, 2025
Merged

LangSmith Integration Docs#402
Angus Jelinek (angus-langchain) merged 5 commits into
mainfrom
angus/otel

Conversation

@angus-langchain

@angus-langchain Angus Jelinek (angus-langchain) commented Sep 8, 2025

Copy link
Copy Markdown
Contributor

Purpose

Adds documentation for tracing 4 common integrations: Google ADK, Semantic Kernel, AutoGen, and CrewAI

Removes deprecated docs

@github-actions

github-actions Bot commented Sep 8, 2025

Copy link
Copy Markdown
Contributor

Preview ID generated: preview-anguso-1757297504-91fdd31

Comment thread src/docs.json
"langsmith/trace-with-langgraph",
"langsmith/trace-anthropic",
"langsmith/trace-openai",
"langsmith/trace-with-autogen",

@angus-langchain Angus Jelinek (angus-langchain) Sep 8, 2025

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

adds 4 integrations and sorts alphabetically after langX and generic llms

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure if we prefer images or public urls

@github-actions

github-actions Bot commented Sep 8, 2025

Copy link
Copy Markdown
Contributor

Preview ID generated: preview-anguso-1757297800-75d18e9

Comment thread src/langsmith/trace-with-google-adk.mdx Outdated
Comment on lines +60 to +64
# Configure LangSmith tracing
configure(project_name="adk-example")

# Instrument Google ADK directly
GoogleADKInstrumentor().instrument()

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's not clear to me what the differences are between these approaches. does the user need to do both?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's one or the other. The Google ADK has their own OTEL format that generally follow Gen AI semantic conventions with some differences, and is more detailed. Our backend supports this now and is the prefered way to trace google adk. The Openinstrumentation approach strictly follows GenAI but is less detailed. We also support this and is useful if you want to trace multiple frameworks that Openinstrumentation can instrument or if you're tracing to other backends that doesn't support the gcp.vertex.agent prefixed attributed

@katmayb Kathryn May (katmayb) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, minor nits, few suggestions, nothing blocking

Comment thread src/langsmith/trace-with-autogen.mdx
Comment thread src/langsmith/trace-with-google-adk.mdx Outdated
sidebarTitle: Google ADK
---

LangSmith supports tracing Google Agent Development Kit (ADK) applications through OpenTelemetry integration. This guide shows you how to automatically capture traces from your Google ADK agents and send them to LangSmith for monitoring and analysis.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
LangSmith supports tracing Google Agent Development Kit (ADK) applications through OpenTelemetry integration. This guide shows you how to automatically capture traces from your Google ADK agents and send them to LangSmith for monitoring and analysis.
LangSmith supports tracing Google Agent Development Kit (ADK) applications through the OpenTelemetry integration. This guide shows you how to automatically capture traces from your Google ADK agents and send them to LangSmith for monitoring and analysis.

Comment thread src/langsmith/trace-with-google-adk.mdx Outdated
Comment thread src/langsmith/trace-with-google-adk.mdx Outdated
configure(project_name="adk-example") # Optional: can also use environment variables
```

Alternatively, you can use the Openinference GoogleADKInstrumentor

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Alternatively, you can use the Openinference GoogleADKInstrumentor
Alternatively, you can use the Openinference GoogleADKInstrumentor:

Comment thread src/langsmith/trace-with-google-adk.mdx Outdated
Comment thread src/langsmith/trace-with-google-adk.mdx Outdated
Comment thread src/langsmith/trace-with-opentelemetry.mdx Outdated
Comment thread src/langsmith/trace-with-autogen.mdx Outdated
@katmayb

Copy link
Copy Markdown
Contributor

@github-actions

github-actions Bot commented Sep 8, 2025

Copy link
Copy Markdown
Contributor

Preview ID generated: preview-anguso-1757340067-8d96b78

@github-actions

github-actions Bot commented Sep 8, 2025

Copy link
Copy Markdown
Contributor

Preview ID generated: preview-anguso-1757340203-da1220f

@angus-langchain
Angus Jelinek (angus-langchain) merged commit bc510eb into main Sep 8, 2025
13 of 15 checks passed
Lauren Hirata Singh (lnhsingh) pushed a commit that referenced this pull request Sep 8, 2025
### Purpose
Adds documentation for tracing 4 common integrations: Google ADK,
Semantic Kernel, AutoGen, and CrewAI

Removes deprecated docs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants