Features
- This release brings the
-beta1
version of Distributed Tracing for iOS apps ⭐. From now, you'll be able to send traces to Datadog and let us visualise the timings of your code execution. If you're using Datadog instrumentation on backend, this also includes full-stack trace propagation.
Instantiate DDTracer
:
import Datadog
import OpenTracing
Global.sharedTracer = DDTracer.initialize(
configuration: DDTracer.Configuration(
sendNetworkInfo: true
)
)
and start instrumenting your code:
let span = Global.sharedTracer.startSpan(operationName: "something I measure")
// do something you want to measure ...
// ... then, when the operation is finished:
span.finish()
Read more in iOS Trace Collection guide.
Improvements
typealias DDLogger = Datadog.Logger
is introduced, to help avoiding compiler ambiguity in projects defining their ownLogger
class (#143), solves #127 and #142 (thanks @krzysztofzablocki , @amyslies)