Other
HTTPX
Trace HTTPX requests with Judgment.
HTTPX tracing uses the standard OpenTelemetry HTTPX instrumentation and routes outbound HTTP spans through Judgment.
uv add judgeval httpx opentelemetry-instrumentation-httpxpip install judgeval httpx opentelemetry-instrumentation-httpximport httpx
from judgeval import Tracer
from opentelemetry.instrumentation.httpx import HTTPXClientInstrumentor
Tracer.init(project_name="httpx_app")
Tracer.registerOTELInstrumentation(HTTPXClientInstrumentor())
httpx.get("https://example.com")
Tracer.force_flush()