View deployment logs
Each revision includes build logs and server logs.- LangSmith UI
- LangGraph CLI
From the Deployments view:
- Select a deployment.
- In the Revisions table, select a revision. The details panel opens with the Build tab selected.
- Review the build logs.
- Select the Server tab to view server logs. Server logs become available after LangSmith deploys the revision.
- Adjust the date and time range as needed. The default range is Last 7 days.
Forward server logs to Datadog
To forward Agent Server logs to Datadog, configure these environment variables or secrets on the deployment:DD_API_KEY: Your Datadog API key.DD_LOGS_ENABLED=true: Enables log forwarding.
DD_LOGS_INJECTION=true. For all supported Datadog variables, see Supported Datadog environment variables.
View deployment metrics
To view deployment metrics:- From the LangSmith UI, select Deployments.
- Select a deployment.
- Select the Monitoring tab. For metric definitions, see Control plane monitoring.
- Adjust the date and time range as needed. The default range is Last 15 minutes.
See also
Connect these docs to Claude, VSCode, and more via MCP for real-time answers.

