# LangChain operations will be attached to the existing distributed trace
chain.invoke(input_data, config={"callbacks": [opik_tracer]})
```

<Tip>
  Learn more about distributed tracing in the 

  [Distributed Tracing guide](/tracing/log_distributed_traces)

  .
</Tip>

## LangGraph Integration

For LangGraph applications, Opik provides specialized support. The `OpikTracer` works seamlessly with LangGraph, and you can also visualize graph definitions:

```python
from langgraph.graph import StateGraph
from opik.integrations.langchain import OpikTracer