Service Monitoring

Whenever an app makes a network call, Apteligent monitors and captures certain information automatically. You can optionally configure filtering and location details. For an introduction, see Service Monitoring.

When Apteligent is enabled, the performance of HTTP traffic generated by either java.net.HttpURLConnection or OkHttp will be monitored. No action is needed in order to turn on Network Performance Monitoring. Simply initialize Apteligent as normal.

Disabling Service Monitoring

By default, service monitoring is enabled. In order to disable it, see CrittercismConfig.setServiceMonitoringEnabled() method for Android SDK 5.0 and above. For versions lower than 5.0, use the CrittercismConfig.setOptmzEnabled() method.

Filtering Captured Data

By default, all URLs are stripped of query parameters before being sent to Apteligent. For example the URL www.yoururl.com/login?secret=foobar would be reported as www.yoururl.com/login. It is also possible to add url blacklists to completely prevent sensitive URLs from being sent to Apteligent.

It is possible to customise filter blacklists that will completely discard matching URLs. See Service Monitoring Configuration for further information.

Blacklisting URLs

URL blacklisting can be used to prevent sensitive URLs from being captured by the network instrumentation. Use CrittercismConfiguration.setURLBlacklistPatterns() for the URLs that should not be monitored by Apteligent. This configuration option must be set at Apteligent initialization time.

Updating the Location

Apteligent Performance Monitoring ties location information to network data. By default, location information is obtained through a reverse IP lookup.

Starting with library version 4.2.0, you can update location information by using the Crittercism.updateLocation (Location) method.