How to manually instrument iOS Applications with OpenTelemetry

How to manually instrument iOS Applications with OpenTelemetry

Aug 14, 2023

In this tutorial, we dive into the practical application of OpenTelemetry in an iOS project built with SwiftUI. We demonstrate how to set up the OpenTelemetry SDK, generate spans, and send them to a configured OpenTelemetry collector.

Our example application displays a random sentence every few seconds. Each sentence generation process is instrumented with OpenTelemetry spans, which include an attribute representing the word count of the sentence.

By following along, you'll gain a practical understanding of distributed tracing and how to leverage OpenTelemetry in your own iOS projects.

Additional Resources:

Start the 14-day trial for free! No credit card required: https://cloud.elastic.co/registration
Subscribe to Elastic’s Community YT channel: https://www.youtube.com/c/OfficialElasticCommunity

Connect with us on social media:

About Elastic
Elastic is the leading platform for search-powered solutions, and we help everyone — organizations, their employees, and their customers — find what they need faster, while keeping applications running smoothly, and protecting against cyber threats. When you tap into the power of Elastic Enterprise Search, Observability, and Security solutions, you’re in good company with brands like Netflix, Uber, Slack, Microsoft, and thousands of others who rely on us to accelerate results that matter.

#ElasticObservability #OTel