Skip to content

ptescher/HawkularAPMTracer

Repository files navigation

HawkularAPMTracer

CI Status Version License Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

HawkularAPMTracer is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "HawkularAPMTracer"

Usage

Initialize the shared tracer. It will register itself with OTGlobal:

APMTracer.setup(AppDelegate.appEnviroment.tracingURL, credential: AppDelegate.appEnviroment.tracingURLCredential, flushInterval: 10)

Normal OpenTracing commands should work. If you want track NSURLSession tasks you can set the delegate to an instance of APMURLSessionDelegate.

Author

pat2man, pat2man@gmail.com

License

HawkularAPMTracer is available under the MIT license. See the LICENSE file for more info.