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

PRO TIPS - How to measure the availability of a webpage (user actions) easily ?

uros_djukic1
Dynatrace Advisor
Dynatrace Advisor

Who hasn't wanted to ensure the availability of these web pages and,
furthermore, to have real-time access to this information? For instance,
we could be able to capture errors by alerting if there's degradation on certain front-end pages!
This is achievable through the syntax capabilities of the metric selector.
This metric selector can feed into the SLO and formalize genuine user impact under the error budget.

Please find this steps to achieve this : 
Step 1 : use "mda" application and create custom metric calc:apps:web

 

uros_djukic1_1-1709133555101.png

uros_djukic1_3-1709133904101.png

 

 

Step 2 : Mark the desired user action as the key user action, which will be used as the denominator: if XHR action carefully choose appropriate one builtin:apps.web.action.count.xhr.browser (for my case); 
Step 3 : Use the power of Metric Selector

100-

100*((calc:apps.web.xxx.errorhttp5xxclickdisponibilite)/

(builtin:apps.web.action.count.xhr.browser:filter(and(or(in("dt.entity.application_method",entitySelector("type(application_method),entityName.equals(~"click on ~~~"Vérifier la disponibilité~~~" on page / XXX/Container.jsp~")"))))):splitBy()))

Result in Dashboard : 

uros_djukic1_2-1709133711205.png

Step 4 : use this MetricSelector for SLO edition 

Hope it helps,
Thanks


1 REPLY 1

radek_jasinski
DynaMight Guru
DynaMight Guru

Thank you:)

Have a nice day!

Featured Posts