---
title: "Requests Tracing"
description: "Trace Requests HTTP calls with Judgment."
sidebar:
  label: "Requests"
seo:
  title: "Requests Tracing with Judgment | Integration Docs"
  description: "Trace Requests spans with Judgment to connect application behavior to production AI agent monitoring and evaluation."
---

Requests tracing uses the standard OpenTelemetry Requests instrumentation and
routes outbound HTTP spans through Judgment.

{/* @test-flow
  id: tracing-http-requests
  lang: python
  env: JUDGMENT_API_KEY, JUDGMENT_ORG_ID
*/}

**uv**

```bash
uv add judgeval requests opentelemetry-instrumentation-requests
```

**pip**

```bash
pip install judgeval requests opentelemetry-instrumentation-requests
```

```python title="requests_tracing.py"
from judgeval import Tracer
from opentelemetry.instrumentation.requests import RequestsInstrumentor

Tracer.init(project_name="requests_app")
Tracer.registerOTELInstrumentation(RequestsInstrumentor())

requests.get("https://example.com")
Tracer.force_flush()
```
