13 Aug 2025
05:35 PM
- last edited on
14 Aug 2025
07:24 AM
by
MaciejNeumann
Hi all,
I'm trying to create a dashboard which shows synthetic usage costs by synthetic monitor. However, when I go to 'Account Management'. Its not able to be converted into a Grail format.
I believe it should be:
dt.synthetic.browser.executions
...that I will need to use but then I also need to count how many steps are executed as I'm on the DPS model and work out the costs from there. I thought it would be in this one here but doesn't seem to return any data?
dt.entity.synthetic_test_step
14 Aug 2025 09:59 AM
You can use metrics instead, For Browser monitors, it's
builtin:billing.synthetic.actions.usage_by_browser_monitor
You can find the list of billing metrics here
14 Aug 2025 10:30 AM
I believe this only works in the classic dashboard environment.
I've noticed I've put the classic tag in my post so apologies.
14 Aug 2025 10:48 AM
Ah, ok. Yeah, we haven't got that out of the box yet. But you can use a count of the step duration to get the number of actions, as the definition of an action is an event with network activity and these are the only ones with a duration.
timeseries { count(dt.synthetic.browser.step.duration), value.A = avg(dt.synthetic.browser.step.duration, scalar: true) }, by: { dt.entity.synthetic_test }
| fieldsAdd dt.entity.synthetic_test.name = entityName(dt.entity.synthetic_test)
14 Aug 2025 01:13 PM
Hi,
I think we're getting there...
So I've just used this DQL query and from one of my synthetics, according to the synthetic UI between a specific/same timeframe, it has consumed 303,657.00 synthetic actions.
However, the same query in Grail returns 21,785. I've made sure to set the query limits to the highest it can be but get inconsistent results.