apple / swift-distributed-tracing

Instrumentation library for Swift server applications
https://swiftpackageindex.com/apple/swift-distributed-tracing/main/documentation/tracing
Apache License 2.0
222 stars 30 forks source link

Sendable Instrument Carriers #136

Closed slashmo closed 9 months ago

slashmo commented 11 months ago

I'd like to require Sendable conformance for the Carrier associated type used in Instruments, since it's a type that's intended to cross boundaries anyways (e.g. HTTP headers). This would make implementing the Instrument protocol a bit easier.

I also took the opportunity and removed the remaining Sendable wrappers since we're now requiring Swift >= 5.6.