Registers OTel via @vercel/otel, with first-class support for a baggage config.
When baggage is provided:
setDomainAttributeMap is called so extractDomainAttributes / withDomainContext
know how to map camelCase param keys to canonical attribute names.
A BaggageSpanProcessor is appended to spanProcessors (alongside the default
"auto" processor) so the union of canonical names from domainAttributes and
additionalKeys is copied onto every span as attributes.
Registers OTel via
@vercel/otel, with first-class support for a baggage config.When
baggageis provided:setDomainAttributeMapis called soextractDomainAttributes/withDomainContextknow how to map camelCase param keys to canonical attribute names.BaggageSpanProcessoris appended tospanProcessors(alongside the default"auto"processor) so the union of canonical names fromdomainAttributesandadditionalKeysis copied onto every span as attributes.