@grand-board/otel-cloudflare - v6.11.0
    Preparing search index...

    Function withTraceContext

    • Helper to inject trace context into a message body for queue propagation

      Type Parameters

      • T extends Record<string, unknown>

      Parameters

      • body: T

      Returns T & { _traceparent?: string }

      await env.QUEUE.send(withTraceContext({ orderId: 123 }));