How do I find trace IDs in LangSmith error logs?
Last updated 1 year ago
Context
When debugging issues in LangSmith services, users may need to correlate error logs with specific requests. LangSmith provides OpenTelemetry trace IDs and span IDs in its logs to help with this correlation.
Answer
LangSmith automatically injects trace information into all logs generated by its services. To find the trace information in your logs, look for these fields:
trace_id- The OpenTelemetry trace identifierspan_id- The OpenTelemetry span identifier
These fields are automatically included in both Python and Go service logs, allowing you to map specific errors back to the requests that generated them.
References
Self Hosted
Can I Self-Deploy OAP without supabase?
Deploying LangSmith & LangGraph on Kubernetes: A Practical Q&A
How do I find trace IDs in LangSmith error logs?
LangSmith upgrade fails with SSL certificate verification error when connecting to Azure Cache for Redis
Why am I getting a parsing token error when upgrading LangSmith?
Resolving LangGraph and LangSmith version compatibility issues in production
Why are some experiment runs missing when processing large datasets in self-hosted LangSmith?
ClickHouse: Drop Old Data
How do I add existing organization members to new workspaces programmatically via API?
How do I resolve Redis disk space issues in self-hosted LangSmith?
Managing ClickHouse Storage
Can I use an external database cluster to host multiple self-hosted LangSmith instances?
How do I resolve ClickHouse migration errors after upgrading LangSmith?
How do I resolve "too many connections" PostgreSQL errors when scaling platform instances?
Best practices for scaling Self-Hosted LangSmith
How to setup path-based routing for self-hosted LangSmith
How to setup private container registry authentication for LangGraph agent deployments
How do I obtain a self-hosted LangSmith license key?
Productionizing and Scaling Self-Hosted LangSmith - Best Practices
Streaming Failures When Using Shared Custom Redis Instances
How do I enable KMS encryption for S3 storage in self-hosted LangSmith?
Why are my agent health checks failing with GCP Gateway API on GKE?
Cleaning ClickHouse System Log Tables
Session Timeout Configuration for LangSmith Self-Hosted
Why am I getting 429 Rate Limit Errors during load testing on self-hosted LangSmith?
Resolving common issues when upgrading LangSmith Helm chart from 0.11.x to 0.12.x?
How do I resolve S3 PutObject access denied errors when enabling LangSmith blob storage with KMS encryption requirements?
Can I use Azure Redis Enterprise with LangSmith and what configuration is required?
Enabling Organization Invites
How do I resolve "AccessDenied: Not authorized to perform sts:AssumeRoleWithWebIdentity" error when upgrading to LangSmith v0.13?
Enabling Audit Logs in Self-Hosted LangSmith
Adding Admin Permissions via Direct SQL in Self-Hosted LangSmith
Multi-Geo Data Residency for Self-Hosted LangSmith
Troubleshooting 405 Errors When Deleting or Updating Cron Jobs on Self-Hosted LangSmith Deployment
Migrating Self-Hosted LangSmith/LangSmith Deployments to a New Kubernetes Cluster
Troubleshooting Failed Postgres Migrations
Determining per Workspace storage usage in ClickHouse
How do I resolve "too many rows in result set" errors causing 403 Forbidden on all LangSmith tabs?
Troubleshooting Agent Builder, Insights (clio) Startup & DNS Failures
Platform-Backend CrashLoopBackOff: "Failed to Initialize OpenID Connect Provider" (404)
Why are Input/Output filters missing in my LangSmith self-hosted deployment?
How do I resolve Gateway API compatibility issues with LangSmith on GKE?
Why is the Fleet dropdown not appearing in LangSmith?
Why is Fleet showing a blank page after enabling ArgoCD?
Backing up and Restoring Clickhouse Data
Audit Logs Stop Working After Upgrading to LangSmith v0.13.37
Enabling LangGraph Deployments on Self-Hosted LangSmith (Hybrid / Full Platform)
LangSmith Go Backend panics on startup with Copy Blob health check failure against firewall-restricted Azure Blob Storage
Reducing Downtime During LangSmith Helm Upgrades
Azure Entra ID SCIM User Deprovisioning
How do I configure SSL certificates for LangSmith Playground with custom model providers?
What are the differences between internal and external Redis in LangSmith deployments?
Can I run both Ingress and Gateway API (HTTPRoute) simultaneously during migration on Self-Hosted LangSmith?
Bundled Agent Deployment Stuck in DEPLOY_FAILED
Migrating LangSmith Deployments Control Plane Fleet to Standalone Fleet
Upgrading Self-Hosted LangSmith to v0.15: Fleet rename and migration guide
Self-hosted LangSmith on Kubernetes: sizing, multi-stage layout, CPU floor
Enabling Fleet and Polly on self-hosted LangSmith after a v0.15 upgrade
Enabling Fleet and Polly on self-hosted LangSmith after v0.15 upgrade
LangSmith bulk export OOM: tuning buffer size and concurrency
ClickHouse disk and memory pressure on self-hosted LangSmith
Code evaluator creation fails when Aqua injects LD_PRELOAD into ace-backend
Slow Align Evaluator and experiment views: enable static-asset caching
Orphaned pods after deleting a self-hosted LangGraph deployment
Correcting under-reported trace usage on self-hosted LangSmith
Self-hosted license renewal: expiration warnings and post-expiry grace period
Self-Hosted Upgrade Best Practices (current: 0.10.x ~ 0.17.x)
Sharing the Sandboxes JuiceFS CSI driver across multiple LangSmith Helm releases
"Create Organization" button disabled on self-hosted LangSmith
Shared Redis/Postgres across Fleet, Insights, and Polly causes cross-component job misrouting
Bulk-cancelling a large backlog of pending runs when auth scoping blocks the API
ClickHouse migration job times out with custom CA bundle during upgrade
Helm upgrade fails on a StatefulSet with "Forbidden: updates to statefulset spec"
Sizing Redis, queue, and Postgres resources for self-hosted data planes
Pre-migration infrastructure checklist for SmithDB on self-hosted LangSmith
Trace retention on self-hosted LangSmith: UI expiry vs. physical deletion
ClickHouse to SmithDB migration: config behavior differences to know
Redis Cluster migration fails on ch-migrations: missing redis_cluster_node_uris key
Choosing between control-plane-managed and standalone Agent Server deployments
GKE ComputeClass sizing for SmithDB: boot disk vs Local SSD cache storage
