To run the example project, clone the repo, and run pod install
from the Example directory first.
HawkularAPMTracer is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "HawkularAPMTracer"
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
.
pat2man, pat2man@gmail.com
HawkularAPMTracer is available under the MIT license. See the LICENSE file for more info.