Synthetic locations API - JSON models
Some JSON models of the Synthetic locations API vary depending on its type. Here you can find JSON models for each variation.
Variations of the SyntheticLocation
object
The SyntheticLocation
object is the base for synthetic locations. The actual set of fields depends on the type of the location.
CLUSTER and PRIVATE
The PrivateSyntheticLocation
object
Element | Type | Description |
---|---|---|
nodes | string[] | A list of synthetic nodes belonging to the location. You can retrieve the list of available nodes with the GET all nodes call. Can be |
availabilityLocationOutage | boolean | The alerting of location outage is enabled ( Can be |
availabilityNodeOutage | boolean | The alerting of node outage is enabled ( If enabled, the outage of any node in the location triggers an alert. Can be |
locationNodeOutageDelayInMinutes | integer | Alert if the location or node outage lasts longer than X minutes. Only applicable when availabilityLocationOutage or availabilityNodeOutage is set to Can be |
availabilityNotificationsEnabled | boolean | The notifications of location and node outage is enabled ( Can be |
autoUpdateChromium | boolean | Auto upgrade of Chromium is enabled ( Can be |
The SyntheticLocation
object
Configuration of a synthetic location.
countryCode, regionCode, city parameters are optional as they can be retrieved based on latitude and longitude of location.
The actual set of fields depends on the type of the location. Find the list of actual objects in the description of the type field or see Synthetic locations API v2 - JSON models.
Element | Type | Description |
---|---|---|
entityId | string | The Dynatrace entity ID of the location. |
type | string | Defines the actual set of fields depending on the value. See one of the following objects:
The element can hold these values
|
name | string | The name of the location. |
countryCode | string | The country code of the location. Use the alpha-2 code of the ISO 3166-2 standard, (for example, Can be |
regionCode | string | The region code of the location. For the USA or Canada use ISO 3166-2 state codes (without For the rest of the world use FIPS 10-4 codes. Can be |
city | string | The city of the location. Can be |
latitude | number | The latitude of the location in |
longitude | number | The longitude of the location in |
status | string | The status of the location:
The element can hold these values
Can be |
json{
"entityId": "SYNTHETIC_LOCATION-F23EE93163E76BE2",
"type": "PRIVATE",
"name": "Sample synthetic location",
"countryCode": "PL",
"regionCode": "82",
"city": "Gdańsk",
"latitude": 54.389,
"longitude": 18.6255,
"status": "ENABLED",
"nodes": [
"2131628184"
]
}
PUBLIC
The PublicSyntheticLocation
object
Element | Type | Description |
---|---|---|
cloudPlatform | string | The cloud provider where the location is hosted. The element can hold these values
Can be |
ips | string[] | The list of IP addresses assigned to the location. Can be |
stage | string | The stage of the location. The element can hold these values
Can be |
browserType | string | The type of the browser the location is using to execute browser monitors. Can be |
browserVersion | string | The version of the browser the location is using to execute browser monitors. Can be |
capabilities | string[] | A list of location capabilities. Can be |
The SyntheticLocation
object
Configuration of a synthetic location.
countryCode, regionCode, city parameters are optional as they can be retrieved based on latitude and longitude of location.
The actual set of fields depends on the type of the location. Find the list of actual objects in the description of the type field or see Synthetic locations API v2 - JSON models.
Element | Type | Description |
---|---|---|
entityId | string | The Dynatrace entity ID of the location. |
type | string | Defines the actual set of fields depending on the value. See one of the following objects:
The element can hold these values
|
name | string | The name of the location. |
countryCode | string | The country code of the location. Use the alpha-2 code of the ISO 3166-2 standard, (for example, Can be |
regionCode | string | The region code of the location. For the USA or Canada use ISO 3166-2 state codes (without For the rest of the world use FIPS 10-4 codes. Can be |
city | string | The city of the location. Can be |
latitude | number | The latitude of the location in |
longitude | number | The longitude of the location in |
status | string | The status of the location:
The element can hold these values
Can be |
json{
"name": "US Central",
"entityId": "GEOLOCATION-AA22893EF461842C",
"type": "PUBLIC",
"cloudPlatform": "GOOGLE_CLOUD",
"ips": [
"200.198.18.147",
"186.202.218.192",
"221.120.251.140"
],
"stage": "GA",
"status": "ENABLED"
}
- Synthetic Monitoring
Learn about Synthetic Monitoring and how to create a single-URL browser monitor, a browser clickpath, or an HTTP monitor.