Pipes SDK ships a built-in per-batch profiler. It records how long each part of the pipeline takes. When aDocumentation Index
Fetch the complete documentation index at: https://beta.docs.sqd.dev/llms.txt
Use this file to discover all available pages before exploring further.
metricsServer() is attached to the source, the profiler output is served as JSON at http://localhost:<metrics_port>/profiler and rendered live in Pipes UI.
Enabling the profiler
The profiler is on by default whenprocess.env.NODE_ENV !== 'production' and off otherwise. Override explicitly with profiler: true or profiler: false on the source.
Interpreting the output
The pipeline is represented as a tree. Each node reports how long was spent in that stage of a batch. A typical tree looks like:Custom spans
Wrap any code in your target or transformer to get it to appear as a tree node.ctx.profiler.start() is a no-op when the profiler is disabled, so the instrumentation is safe to leave in place.
