mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-09-06 17:57:49 +02:00
docs: add o11y overview (#5542)
* docs: add o11y overview * add section for enabling tracing
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
# Observability
|
||||
|
||||
Use [LangSmith](https://smith.langchain.com/) to visualize the execution of a LangGraph application and do the following:
|
||||
|
||||
- [Enable tracing for your application](#enable-tracing-for-your-application).
|
||||
- [Debug a locally running application](../cloud/how-tos/clone_traces_studio.md).
|
||||
- [Evaluate the application performance](../agents/evals.md).
|
||||
- [Monitor the application](https://docs.smith.langchain.com/observability/how_to_guides/dashboards).
|
||||
|
||||
To get started, sign up for a free account at [LangSmith](https://smith.langchain.com/).
|
||||
|
||||
## Enable tracing for your application
|
||||
|
||||
To use LangSmith with your LangGraph application, enable tracing:
|
||||
|
||||
```python
|
||||
export LANGSMITH_TRACING=true
|
||||
export LANGSMITH_API_KEY=<your-api-key>
|
||||
```
|
||||
|
||||
For more information, see [Trace with LangGraph](https://docs.smith.langchain.com/observability/how_to_guides/trace_with_langgraph).
|
||||
+3
-2
@@ -157,8 +157,9 @@ nav:
|
||||
- Overview: concepts/mcp.md
|
||||
- Use MCP: agents/mcp.md
|
||||
- Server API: concepts/server-mcp.md
|
||||
- Evaluation:
|
||||
- Basic implementation: agents/evals.md
|
||||
- Observability:
|
||||
- Overview: how-tos/observability.md
|
||||
- Evaluate performance: agents/evals.md
|
||||
- Platform-only capabilities:
|
||||
- LangGraph Platform:
|
||||
- Overview: concepts/langgraph_platform.md
|
||||
|
||||
Reference in New Issue
Block a user