Circle V2 API Docs
    Preparing search index...

    Function addBaggageEntries

    • Returns a new Context with the given attributes merged into the active baggage. Use this (paired with context.with(...)) to make values visible to the BaggageSpanProcessor so they are attached to every downstream span — including spans created by libraries that bypass withSpan (e.g. Kysely) and spans created in queue workers (via the W3C baggage propagator wired up in register.ts).

      Existing baggage entries are preserved; entries with null/undefined values are skipped. Values are coerced to strings, as required by the W3C baggage spec.

      Parameters

      Returns Context