apple / swift-distributed-tracing

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

is baggage context regarded for spans crossing task boundaries? #154

Closed wibed closed 2 weeks ago

wibed commented 2 weeks ago

have missed that one: https://github.com/apple/swift-distributed-tracing/blob/main/Sources/Tracing/Docs.docc/Guides/ImplementATracer.md

yet leave it open for further input

wibed commented 2 weeks ago

from service context repo: The context is a value type and is propagated using task-local values so it can be safely used from concurrent contexts like this

https://github.com/apple/swift-service-context/blob/main/README.md