11 Mar 2025 01:42 PM
12 Mar 2025 11:27 PM
@robin_vogels At what stage are you exactly facing issue when creating the SLO for HTTP synthetic monitors?
13 Mar 2025 07:19 AM
@p_devulapalli, I'm able to create the SLO with this DQL:
fetch dt.synthetic.events
| filter dt.synthetic.monitor.id == "HTTP_CHECK-XXX"
| makeTimeseries {total = count(), good = countIf(result.statistics.duration < 2000)}
| fieldsAdd sli = 100 * (good[] / total[])
However when I try to to the same for a synthetic browser test I found out that these events are not stored in dt.synthetic.events, so I tried to get it working with dt.synthetic.browser.duration, but I'm not able to create a SLO for it.
Do you have any idea how to achieve this?
13 Mar 2025 07:57 AM
@robin_vogels Here is a example which is similar to what you are trying to achieve . You can try using dt.synthetic.browser.duration instead here , you can may be ignore the tags part and use dt.entity.synthetic_test to filter it down to the particular test you are after and the expressions
Hope this helps