Skip to content

signalfx/splunk-otel-ios-crashreporting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

63b7ece · Apr 12, 2024

History

44 Commits
Apr 12, 2024
Jul 31, 2023
Nov 29, 2022
Jul 8, 2021
Jul 8, 2021
Jul 8, 2021
Jul 8, 2021
Jul 8, 2021
Oct 12, 2021
Oct 19, 2022
Jul 8, 2021
Jul 31, 2023
Jul 31, 2023

Repository files navigation

Splunk OpenTelemetry iOS agent Crash Reporting module

This is an addon to the Splunk RUM iOS agent that adds crash reporting via PLCrashReporter.

🚧 This project is currently in BETA. It is officially supported by Splunk. However, breaking changes MAY be introduced.

Getting Started

To get started, first follow the instructions to add the SplunkOtel package to your application, then import this optional crash reporting package into your app, either through the Xcode menu File -> Swift Packages -> Add Package Dependency or through your Package.swift:

.package(url: "https://github.com/signalfx/splunk-otel-ios/", from: "0.4.0");
.package(url: "https://github.com/signalfx/splunk-otel-ios-crashreporting/", from: "0.4.0");
...
.target(name: "MyAwesomeApp", dependencies: ["SplunkOtel", "SplunkOtelCrashReporting]),

You'll then need to start the crash reporting after initializing the SplunkRum library:

import SplunkOtel
import SplunkOtelCrashReporting
...
// Your beaconUrl and rumAuth will be provided by your friendly Splunk representative
SplunkRum.initialize(beaconUrl: "https://rum-ingest.us0.signalfx.com/v1/rum", rumAuth: "ABCD...")
SplunkRumCrashReporting.start()

or

@import SplunkOtel;
@import SplunkOtelCrashReporting;
...
// Your beaconUrl and rumAuth will be provided by your friendly Splunk representative
[SplunkRum initializeWithBeaconUrl: @"https://rum-ingest.us0.signalfx.com/v1/rum" rumAuth: @"ABCD..." options: nil];
[SplunkRumCrashReporting start]

Version information

  • This library is compatible with iOS 11 and up (and iPadOS 13 and up)

Building and contributing

Please read CONTRIBUTING.md for instructions on building, running tests, and so forth.

License

This library is licensed under the terms of the Apache Softare License version 2.0. See the license file for more details.

ℹ️  SignalFx was acquired by Splunk in October 2019. See Splunk SignalFx for more information.