iOS agent to use Instana for your iOS app. The monitoring currently supports:
- Session Start
- Capture HTTP sessions automatically or manually
- Automatic delivery of device & app information (like bundle identifer, version, language, iOS device information)
Optionally:
- Ignore full URLs by regex or full URLs
- Set global meta data (key/value)
- Set user specific data (like id, name and email)
- Set the current visible view to match with the HTTP sessions
- Just go into Xcode. 2 .Choose File -> Swift Packages -> Add Package Dependency -> Select your Xcode project
- Enter this repository URL
Edit your Podfile
to include the following:
pod 'Instana'
Don't forget to run pod install
to download the dependencies.
The iOS Instana agent uses the following sub-dependencies:
See installation page.
Just initialize the Instana iOS agent with the following setup. Make sure to call setup very early in didFinishLaunchingWithOptions
import Instana
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil) -> Bool {
Instana.setup(key: <Your Instana Key>, reportingURL: <Your Instana instance URL>)
....
return true
}
See API page.