This repository provides multiple distribution options (XCFramework, CocoaPods, Carthage, and SwiftPM) for the OpenTelemetryApi
library from opentelemetry-swift. It is tailored for the iOS platform versions supported by dd-sdk-ios.
It also hosts an API-only SwiftPM package to let SPM users integrate the OpenTelemetry API without pulling in the entire OpenTelemetry dependency tree. Versions here follow the official releases of opentelemetry-swift and maintain the same versioning scheme.
You can integrate OpenTelemetryApi using one of the following methods:
Download the .zip
file containing the OpenTelemetryApi.xcframework
from the Releases page and add it to your project.
pod 'OpenTelemetrySwiftApi', '~> 1.13.0'
binary "https://raw.githubusercontent.com/DataDog/opentelemetry-swift-packages/main/OpenTelemetryApi.json" ~> 1.13.0
.package(url: "https://github.com/DataDog/opentelemetry-swift-packages.git", .upToNextMinor(from: "1.13.0")),
Before considering contributions to the project, please take a moment to read our brief contribution guidelines.
For detailed instructions on how to release a new version of OpenTelemetryApi
in this repo, refer to the Release Workflow.