@grow-codes/opentelemetry-collector - v0.1.1
    Preparing search index...

    Function parseKeyValueList

    • Parses k=v,k2=v2 (W3C baggage style, values percent-decoded) as used by OTEL_EXPORTER_OTLP_HEADERS and OTEL_RESOURCE_ATTRIBUTES. Throws ConfigError naming source (never the value) on malformed input.

      Parameters

      • raw: string
      • source: string

      Returns Record<string, string>