This talk provides an overview of observability in server-side Swift, comprised of Logging, Metrics, and Distributed Tracing. I'll start off by introducing and comparing the three fundamental API packages (swift-log / swift-metrics / swift-distributed-tracing), the latter of which I co-created as part of Google Summer of Code in 2020.
Throughout the talk, I'll be using a microservice-based server-side Swift backend, gradually adding more and more observability to it. This demo is powered by OpenTelemetry via the Swift OTel package, sending the observability data to a handful of backends.
At the end of my talk, you should understand what the three pillars of observability are and how to make use of them in your server-side Swift projects. As a bonus, you'll also learn about the OpenTelemetry project.
Links:
Moritz (@slashmo) is a Senior iOS Engineer at Blinkist, based in Berlin. He's passionate about using Swift in other places, primarily on the server-side. In 2020, Moritz participated in Google Summer of Code where he built the Swift Distributed Tracing library. Additionally, he's maintaining an open-source OTel client called swift-otel.
When not coding in Swift, Moritz likes to play beach volleyball and the electric guitar. You can find him on GitHub and Mastodon.