Skip to content

Builds and distribute opentelemetry-swift packages as XCFramework, Cocoapods and Carthage.

License

Notifications You must be signed in to change notification settings

DataDog/opentelemetry-swift-packages

Repository files navigation

opentelemetry-swift-packages

Automation

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.

Usage

Automation workflow

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.

XCFramework

You can download the XCFramework from the releases page and add it to your project.

CocoaPods

pod 'OpenTelemetrySwiftApi', '~> 1.9.1'

Carthage

binary "https://raw.githubusercontent.com/DataDog/opentelemetry-swift-packages/main/OpenTelemetryApi.json" ~> 1.9.1

Contributing

Before considering contributions to the project, please take a moment to read our brief contribution guidelines.

License

Apache License, v2.0

About

Builds and distribute opentelemetry-swift packages as XCFramework, Cocoapods and Carthage.

Resources

License

Stars

Watchers

Forks

Packages

No packages published