This release brings Distributed Tracing for iOS 🚀.
Features
- By using a new
Tracer
API, it is now possible to send traces to Datadog.
// register the Tracer:
Global.sharedTracer = Tracer.initialize(configuration: configuration)
// start the Span:
let span = Global.sharedTracer.startSpan(operationName: "something I measure")
// finish it when the measured operation is done:
span.finish()
- If you use Datadog instrumentation on the backend, the trace can be propagated across the hosts.
Read more in iOS Trace Collection guide.