apple/swift-distributed-tracing-baggage-core
Minimal context propagation container
Dependency
In order to depend on this library you can use the Swift Package Manager, and add the following dependency to your Package.swift:
dependencies: [
.package(
name: "swift-baggage-context-core",
url: "https://github.com/apple/swift-distributed-tracing-baggage-core.git",
from: "0.1.0"
)
]and depend on the module in your target:
targets: [
.target(
name: "MyAwesomeApp",
dependencies: [
"CoreBaggage",
]
),
// ...
]Usage
Please refer to Swift Distributed Tracing Baggage for the intended usage, and detailed guidelines.
Alternatively, please refer to the API documentation of the Baggage type.
Contributing
Please make sure to run the ./scripts/soundness.sh script when contributing, it checks formatting and similar things.
You can make ensure it always is run and passes before you push by installing a pre-push hook with git:
echo './scripts/soundness.sh' > .git/hooks/pre-pushPackage Metadata
Repository: apple/swift-distributed-tracing-baggage-core
Homepage: https://github.com/apple/swift-distributed-tracing
Stars: 14
Forks: 7
Open issues: 1
Default branch: main
Primary language: swift
License: Apache-2.0
Topics: distributed-tracing, sswg, swift
README: README.md
Archived: yes