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

Pulling Synthetic API Data in Dashboards

GregOReilly
Helper

I want to create a new Dynatrace dashboard that not only shows synthetic availability but also includes detailed error and failure codes.

Currently, our dashboards provide essential metrics like speed, size, and success rates of synthetic tests, along with location filters. However, they don't display specific failure messages.

For instance, when some of my synthetics fail, I receive error codes such as "Unexpected Content-Length." I'd like to visualize these failure messages on dashboards over time.

The reason is that we have a global deployment of services, with synthetics running across Europe, Asia, and North America. When this error occurs, it often indicates a caching issue, causing some users to see outdated data.

Is there a way to use the Dynatrace API to pull specific "Failure Messages"? We have error and problem detection in place, but currently, we must manually check each synthetic and location to see the failure message.

Automating this would significantly streamline our process.

1 REPLY 1

HannahM
Dynatrace Leader
Dynatrace Leader

How about something like

builtin:synthetic.http.execution.status:splitBy("dt.entity.http_check",execution_status_name):sort(value(auto,descending)):limit(20)

or 

builtin:synthetic.browser.errorCodes.geo:splitBy("By error code","dt.entity.synthetic_test"):sort(value(auto,descending)):limit(20)
Synthetic SME and community advocate.

Featured Posts