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

Restricting metric id in get/metrics/query API

Balamurugesh
Guide

hi , I am getting metric Id(builtin:synthetic.browser.availability.location.total:splitBy(""dt.entity.synthetic_test""):names:default(0)) in metrics API. is there possibility to restrict it in response?

 

thanks,

Dingu

1 REPLY 1

ChadTurner
DynaMight Legend
DynaMight Legend

Yes you can, I recommend taking that first set of the code and put it into the Dynatrace Data Explorer <builtin:synthetic.browser.availability.location.total> once you have it in the data explorer you can add in split by and even a filter by so you are targeting exactly what you want. Then from there click the code tab and Dynatrace will convert it to code and copy that code and paste it into your API 🙂 

ChadTurner_0-1673452400600.png

 

-Chad

Featured Posts