Skip to content

tapwork/iOSAgent

 
 

Repository files navigation

Instana iOSAgent

Changelog |


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

Installation

Swift Package Manager

  1. Just go into Xcode. 2 .Choose File -> Swift Packages -> Add Package Dependency -> Select your Xcode project
  2. Enter this repository URL

CocoaPods

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.

Setup

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
}

API

See API page.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 97.8%
  • Ruby 1.6%
  • Shell 0.6%