Hi,
I want to show synthetic availability % on new dashboard using DQL. Can somebody please help on this .Does Grail has all the classic metrics of synthetic using DQL + timeseries.
i did not find any example in dynatrace documentation.
Regards,
Heramb Sawant
@heramb_sawant Here is an example for browser monitor availability , please refer to the below link for list of metrics available in grail for Synthetic monitors
timeseries series = avg(dt.synthetic.browser.availability),
by:{ monitored_entities,
dt.entity.synthetic_test,
dt.entity.synthetic_location
},
filter: { matchesValue(entityAttr(dt.entity.synthetic_test, "entity.name"), "XXXX") }
| summarize { availability = avg(arrayAvg(series)) }
Hello,
Availability can also be calculated using a weighted average. To use this method, enable the “scalar” parameter:
timeseries { scalar_av = avg(dt.synthetic.browser.availability, scalar: true)},
by: {dt.entity.synthetic_test, dt.entity.synthetic_location}
| fields dt.entity.synthetic_test, locationName = entityName(dt.entity.synthetic_location), scalar_av
You can read more about it in the link below: