Skip to content

basalt / fastify/src / tracingPlugin

Function: tracingPlugin() ​

> tracingPlugin(options?): BasaltPlugin<unknown>

Defined in: http/src/tracing.ts:27

Distributed tracing as a neutral pre/after hook: continues an inbound W3C traceparent, records a server span per request, echoes traceparent, and exports. Runs on Fastify, Express and Hono.

Parameters ​

options? ​

TracingPluginOptions = {}

Returns ​

BasaltPlugin<unknown>

Released under the MIT License.