Skip to content

jjnino/splunk-otel-ios-crashreporting

 
 

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 released 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.

About

Fork of splunk-otel-ios-crashreporting

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 89.1%
  • Shell 6.3%
  • Objective-C 4.6%