Get started with iOS monitoring
To monitor your mobile app with Dynatrace, you first need to create an application in Dynatrace and then instrument your actual mobile app with OneAgent for iOS.
Create an application in Dynatrace
Create a mobile application in the Dynatrace web UI
Set up OneAgent
Instrument your app via CocoaPods, Swift Package Manager, Carthage, or manual approach
Instrument SwiftUI controls
Instrument SwiftUI buttons, stepper, toggles, and more
After instrumenting your iOS app with OneAgent, you might want to fine-tune the instrumentation according to your needs:
- Adjust the auto-instrumentation features via configuration keys.
- Capture additional data via manual instrumentation.
- Configure the data privacy settings for your iOS apps; for example, set up the user opt-in mode or mask user actions.
- Learn what data OneAgent for iOS captures to complete or update the App Store Connect questionnaire on data privacy.