Skip to main content
The Threadify exporter converts existing OpenTelemetry traces into Threadify execution graphs, without adding thread.step() calls to application code.

The Mapping Model

Status Mapping

UNSET is treated as success because OpenTelemetry uses it when no error was recorded.

1. Setup the Exporter

Create the exporter and register it with your OpenTelemetry TracerProvider.
Ended spans are exported automatically; the exporter manages thread lifecycles.

2. Filtering Spans

Use filters to drop internal or utility spans by name before export.
Filters are applied on the span name only. Trailing * acts as a prefix wildcard. Empty filters are skipped.

3. Using OpenTelemetry Natively

Once configured, instrument business logic with the standard OpenTelemetry API.

4. Advanced Attributes (Optional)

Use threadify.* span attributes to override the default mapping. Any attributes starting with threadify.ref.* or threadify.context.* will be explicitly mapped to references or context respectively, bypassing the default configuration rules.