dd-sdk-ios uses the OpenTelemetry APIs
for Tracing which are provided by the OpenTelemetryApi
package in
opentelemetry-swift.
dd-sdk-ios supports Swift Package Manager (SPM), XCFramework, CocoaPods, and
Carthage but OpenTelemetry only provides the SPM package support. This
repository fills the gap by providing the XCFramework, CocoaPods, and Carthage
packages for the OpenTelemetryApi package. It uses the official releases from
opentelemetry-swift and maintains the same versioning scheme.
The automation
workflow is setup for running every day and it checks for new
version release of the OpenTelemetry Swift libraries. If a new version is found,
it will build the new version using the tag, package it as XCFramework, and push
it to the releases, and update the CocoaPods and Carthage specs.
You can download the XCFramework from the releases page and add it to your project.
pod 'OpenTelemetrySwiftApi', '~> 1.9.1'
binary "https://raw.githubusercontent.com/DataDog/opentelemetry-swift-packages/main/OpenTelemetryApi.json" ~> 1.9.1
Before considering contributions to the project, please take a moment to read our brief contribution guidelines.