[Trace with LangChain (Python and JS/TS) | 🦜️🛠️ LangSmith](https://docs.smith.langchain.com/observability/how_to_guides/trace_with_langchain): LLM should read this page when: 1) Integrating LangChain with LangSmith for tracing and observability 2) Logging traces with metadata, tags, and custom run/project names 3) Accessing run IDs and ensuring traces are submitted before exiting 'Guide for tracing LangChain with LangSmith for observability. Covers environment setup, logging traces, configuring metadata/tags/names, accessing run IDs, and distributed tracing. Also covers interoperability between LangChain and LangSmith SDK.'

