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

Synthetic Executions/Cost - Grail

badgerfifteen
Organizer

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

4 REPLIES 4

HannahM
Dynatrace Guru
Dynatrace Guru

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

Synthetic SME and community advocate.

I believe this only works in the classic dashboard environment. 

I've noticed I've put the classic tag in my post so apologies. 

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)

 

Synthetic SME and community advocate.

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. 

Featured Posts