> For the complete documentation index, see [llms.txt](https://docs.layerlens.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.layerlens.ai/6.-build-wire-your-code/otel-trace-ingestion.md).

# OpenTelemetry trace ingestion

Recipe — OpenTelemetry trace ingestion. Pointer to the canonical SDK adapter doc.

The canonical guidance lives in the SDK: [`docs/adapters/otlp.md`](https://github.com/layerlens/stratix-python/blob/main/docs/adapters/otlp.md). The `layerlens.instrument` adapter layer handles OTLP-shape inputs and emits Stratix events through the standard HTTP sink.

For applications that already emit OpenTelemetry spans with `gen_ai.*` attributes, the adapter pattern routes them into Stratix without code changes downstream.

## See also

* [Concept: Traces and spans](/6.-build-wire-your-code/traces-and-spans.md)
* [Workflow: Instrument](/6.-build-wire-your-code/workflow.md)
* [Integrations](/6.-build-wire-your-code/migration.md)
