API for getting Browser Clickpath Synthetic monitor

Hi,

We have some Browser Clickpath Synthetic monitors we’d like to export metrics from. I can export the monitor definitions but I cannot seem to find API calls for retrieving metrics for this (only 1 for getting HTTP Monitors: Synthetic monitor executions API v2 - GET HTTP monitor — Dynatrace Docs )

Is this simply not available yet, or am I not looking good enough ?

While I have not done this before, they should be available through the Metrics API. You just have to use the IDs for your measurements…

Say my synthetic test ID is SYNTHETIC_TEST-7010ACE1660CAAFE, how would I go from there to get the measurements IDs ?

I’ve tried using the metrics?text search to see if I can find anything, but no hits there.

Hi @simonv

There a some metrics for synthetic browser that you can utilize with the get metric API.

In the metric dashboard you can search for synthetic browser  and get their names.

Now in the get metric query API place the metric that meets your needs and add the right filter and you are all set.

For example here is a fetch data of the availability of a browser synthetic check

The metricSelector

and the filter of the type and entity

TIP: For simplify the creation of entity selector check the code section under the metric chart…

HTH

Yos

Hi @Yosi_Neuman

Sorry, did not notice your post.

Thanks, this helped. Able to find some of the metrics I was looking for now like availability (builtin:synthetic.browser.availability.location.total).

Also the code section is good to know.