Options
All
  • Public
  • Public/Protected
  • All
Menu

Baggage represents collection of key-value pairs with optional metadata. Each key of Baggage is associated with exactly one value. Baggage may be used to annotate and enrich telemetry data.

Hierarchy

  • Baggage

Index

Methods

  • removeEntries(...key: string[]): Baggage
  • Returns a new baggage with the entries from the current bag except the removed entries

    Parameters

    • Rest ...key: string[]

      keys identifying the entries to be removed

    Returns Baggage

  • Returns a new baggage with the entries from the current bag except the removed entry

    Parameters

    • key: string

      key identifying the entry to be removed

    Returns Baggage

  • Returns a new baggage with the entries from the current bag and the specified entry

    Parameters

    • key: string

      string which identifies the baggage entry

    • entry: BaggageEntry

      BaggageEntry for the given key

    Returns Baggage

Generated using TypeDoc