Detection of IP addresses, geolocations, and user agents
Dynatrace automatically detects IP addresses and geolocations as well as browsers, devices, and operating systems.
When web requests and beacons (Real User Monitoring signals) are directly sent to an instrumented server, Dynatrace identifies the IP addresses of your end users' devices via the socket connections.
When you use uninstrumented components such as load balancers, CDNs, or proxies, the remote IP address is different from the original IP address. For such cases, Dynatrace also watches certain HTTP headers. These headers are most frequently used for identifying the originating IP address when a client connects to a web server through an HTTP proxy, a CDN, or a load balancer.
You can view which headers Dynatrace watches by default. In the Dynatrace menu, go to Settings > Web and mobile monitoring > IP determination. Dynatrace processes these headers in a specific order, but you can change the processing order and add your own headers.
Keep in mind that Dynatrace masks the last part of end-user IP addresses by default.
For web applications, Dynatrace uses the MaxMind Geo2 database to map and resolve IP addresses to geographical locations.
For mobile apps, the IP address mapping depends on whether the mobile app has permission to access the geolocation information.
- With permission. Dynatrace uses the device coordinates (GPS or Wi-Fi) and calculates the city that is closest to the reported GPS location.
- No permission. Dynatrace uses the IP address and the MaxMind Geo2 database to determine the geolocation.
Dynatrace automatically updates the MaxMind Geo2 database in your environment with the release of each new version of Dynatrace.
If you discover an error in MaxMind mapping, you can request that MaxMind update their database. After MaxMind changes an IP address mapping, the mapping in your Dynatrace environment is updated with the Dynatrace version following the change.
You can check your IP address against the MaxMind database at any time via the GeoIP2 Databases Demo form.
For custom locations that have internal or private IP addresses, like your different offices, you can define custom IP mappings. You can even overwrite the default IP address mappings via custom IP address mapping rules. See Map internal IP addresses to locations for more details.
Dynatrace also masks the GPS coordinates by default.
Browsers, devices, and operating systems
For web applications, Dynatrace uses the user agent string sent by the browser to distinguish user sessions of real users from synthetic and robots. It also leverages this string to identify operating systems and device types like desktop, tablet, or mobile. For browser classification, Dynatrace uses the www.udger.com user agent database.
For Android apps, device names are provided by Google Play Store. For iOS apps, Dynatrace maintains a cross-reference list that maps Apple device IDs to Apple device names. The operating system—Android or iOS—is provided by Dynatrace OneAgent for mobile.
Internet service providers (ISPs) are detected based on their IP addresses against the MaxMind database.