Skip to content

Capture traffic#

After adding an environment and creating a project, you can start capturing traffic from your LLM application.

To capture traffic from the LLM application, set up the following HTTP headers:

HTTP header Comment Description
X-Loop-Project Required Project name in Lens Loop
X-Loop-TraceID Optional Trace identifier. Enables grouping spans of the same trace
X-Loop-ParentID Optional Parent span identifier. Helps with building span hierarchy inside the trace
X-Loop-Custom-Label Optional Additional entities that allow you to group spans

Watch an example of traffic capturing in the video below: