All integrations

Jaeger

Instrumentation

Trace your agent with a local or self-hosted Jaeger OTLP backend.

Read the full instrumentation docs

Install

Add Jaeger instrumentation from eve's registry:

bash
eve add instrumentation/jaeger

Quick start

Create agent/instrumentation.ts and point the OTLP exporter at your Jaeger collector:

ts
// agent/instrumentation.tsimport { defineInstrumentation } from "eve/instrumentation";import { OTLPHttpProtoTraceExporter, registerOTel } from "@vercel/otel";
export default defineInstrumentation({  setup: ({ agentName }) =>    registerOTel({      serviceName: agentName,      traceExporter: new OTLPHttpProtoTraceExporter({        url: "http://localhost:4318/v1/traces",      }),    }),});

Configure

Run Jaeger locally with Docker and open the UI at http://localhost:16686:

bash
docker run --rm -p 16686:16686 -p 4318:4318 jaegertracing/jaeger:latest

Point the exporter at your collector's OTLP HTTP endpoint when self-hosting. See the instrumentation guide for the trace hierarchy and the recordInputs/recordOutputs controls.