Skip to main content
effect-orpc creates Effect spans around procedures. To export them, include an OpenTelemetry layer in your application runtime.

Install OpenTelemetry packages

Install packages

Create a tracing layer

tracing.ts

Add it to your runtime

runtime.ts

Customize procedure span names

custom-span.ts

Local collector

The repository Hono example includes an optional telemetry stack.
Run collector

Next step

Review the Tracing capability for how spans are named by default.
Last modified on June 15, 2026