detsys-ts
    Preparing search index...

    Function traceContextHeaders

    • The W3C trace context headers of the operation in progress, for an outgoing HTTP request.

      Put these headers on the request. The service that answers it can then put its own work in this trace.

      The headers describe the span that is active now. When no span is active yet -- a request the Action makes before it starts a span of its own -- they describe the span that $TRACEPARENT names, which is the span the Action announced, or the span of the workflow job.

      The result is empty when the export is off. A no-op span's context is all zeroes, and is not a valid parent.

      Returns Record<string, string>