cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to check if a Synthetic Monitor location is offline?

Wyatt
Visitor

Is there any API call that will tell me if a synthetic location is online or offline?

{
"locationId": "SYNTHETIC_LOCATION-xxx",
"status": "location_offline",
}

 

I've tried 'GET - api/v1/synthetic/locations'... but this will just tell me if a location is disabled/enabled. I've found that enabled locations can also be offline. 

"locations": [
{
"name": "Location Name",
"entityId": "SYNTHETIC_LOCATION-x1",
"type": "PRIVATE",
"status": "ENABLED"
},
{
"name": "Location2 Name",
"entityId": "SYNTHETIC_LOCATION-x2",
"type": "PRIVATE",
"status": "ENABLED"
}

 

Thanks,

 

-Wyatt

 

 

 

1 REPLY 1

HannahM
Dynatrace Leader
Dynatrace Leader

There are several dsfm options that are helpful here, they are all related to utilization of the Synthetic engine

dsfm:synthetic.engine_utilization
dsfm:synthetic.browser.engine_utilization
dsfm:synthetic.http.engine_utilization
dsfm:synthetic.http_high_resource.engine_utilization

You can find them mentioned here in our private location details documentation. They can be retrieved using the metrics v2 API

There are also a couple of location metrics that you may be interested in. 

builtin:synthetic.location.node.component.healthStatus
builtin:synthetic.location.healthStatus
Synthetic SME and community advocate.

Featured Posts