tracing

Traces actual Tile executions using an already registered global provider, including Java agents. Fails at Canvas setup if no tracing provider is registered, without initializing global state.


fun CanvasBuilder.tracing(openTelemetry: () -> OpenTelemetry)(source)

Traces actual Tile executions using the application's provider. The factory runs once at Canvas setup, after duplicate validation; descendants inherit this installation. Separate request Mosaics share configuration, never cached work. Explicit no-op providers are accepted.

The application owns its SDK, sampling, processors, export, and shutdown. Mosaic records delegated Tile names and structural execution data; it never records keys, results, Canvas values, or raw exceptions.