# Tracing (https://unmissed.dev/docs/tracing)

Follow each webhook from the moment it arrived to your app's answer. Add an OTLP endpoint, such as Jaeger, Grafana or Honeycomb, to `.env` and traces start flowing:

```ini
OTEL_EXPORTER_OTLP_ENDPOINT=https://otel.example.com:4318
```

A hosted collector that needs a key takes it in `OTEL_EXPORTER_OTLP_HEADERS`, such as `x-honeycomb-team=your-key`. `OTEL_SERVICE_NAME` defaults to `unmissed`.

<Callout title="Collector on the same machine?">
Inside Docker, `localhost` is the container itself. Use `http://host.docker.internal:4318`. On Linux, the collector must listen on `0.0.0.0`.
</Callout>

## What leaves in a trace [#what-leaves-in-a-trace]

Receiving URLs and destination URLs never leave in a trace, or in a log line on stderr without a TTY, which is how Docker Compose runs Unmissed. Source tokens show as `/in/REDACTED`, and other URLs keep only their host.

If a sender includes a `traceparent`, the delivery joins its trace, so you can follow a webhook from the sender, through Unmissed, to your app.

Tracing is off until an endpoint is set.