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

Building an Error SLO for specific pages of your site

jrhoward
Newcomer

We are trying to sum the total of http requests of a specific page of our application as well as the sum of the total of http requests that have errors. We have an agentless application created and have been trying to do this through key user action metrics, but we are only able to obtain the number of load actions that occur, and not the total http requests that occur during the load action. Are there any metrics available that could provide us the information we need?

2 REPLIES 2

ChadTurner
DynaMight Legend
DynaMight Legend

@jrhoward So your looking to combine Metris from key services, the number of the requests for the key services, and then factor in the errors at the service level..... then join in the errors from the defined application in Dynatrace?  

-Chad

tomaxp
Mentor

Hi, I think you can go with this

Total HTTP requests during a specific page/action (front-end/RUM)
Create a calculated metric for web applications with:

Measure: Web request count (counts XHR/fetch requests attached to the action)

Filter (scope): your application + the specific user action name/URL (your page)
Save it and chart the metric in Data Explorer (sum).

Total HTTP requests that have errors (front-end/RUM)
Create a second calculated metric with the same scope, but enable the request-error filter (RUM calculated metrics support flags like hasRequestErrors or specific status code ranges 4xx/5xx). Then chart the sum.

 

Why in this case - key user actions alone didn’t work

“Key user action metrics” primarily count actions (page loads, XHR actions), not the number of web requests made inside a single action. The RUM calculated metric for Web request count is designed for exactly that use case.

Featured Posts