builtin:rum.ip-mappings)
If you don't see performance data for some of your customers on the world map, it may be because those customers have private IP addresses. You can map such private IP addresses to geographic regions to make them visible on the map. You can even override settings for customer IP addresses if necessary for mapping purposes.
Granularity of regional performance analysis increases as the number of detected user requests goes up in a specific region (continent, country, state, or city). You can even override auto-detected IP addresses if necessary to improve mapping accuracy.
Dynatrace uses an IP address to geolocation mapping service offered by MaxMind GeoIP2. The names for regions and cities are following the GeoNames database.
To find out which names and IDs are used out of the box, use the geographic regions REST API (<your-dynatrace-url>//rest-api-doc/index.jsp?urls.primaryName=Environment%20API%20v2#/Geographic%20regions
).
builtin:rum.ip-mappings
group:web-and-mobile-monitoring.geographic-regions
group:web-and-mobile-monitoring
environment
GET | Managed | https://{your-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:rum.ip-mappings |
SaaS | https://{your-environment-id}.live.dynatrace.com/api/v2/settings/schemas/builtin:rum.ip-mappings | |
Environment ActiveGate | https://{your-activegate-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:rum.ip-mappings |
To execute this request, you need an access token with Read settings (settings.read
) scope. To learn how to obtain and use it, see Tokens and authentication.
ip
ipTo
countryCode
The country code of the location.
Use the alpha-2 code of the ISO 3166-2 standard, (for example, AT
for Austria or PL
for Poland).
regionCode
The region code of the location.
For the USA or Canada use ISO 3166-2 state codes without US-
or CA-
prefix.
For the rest of the world use FIPS 10-4 codes without country prefix.
city
The city name of the location.
latitude
longitude