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

SLO definition for the count of KeyUser actions speed

DynaMight Champion
DynaMight Champion

Similar to the SLO approach of service-side key requests, where one can create a metric to count the NUMBER of requests that are below/above a certain duration, I wanted to also follow the same approach for client-side key user actions.
Although you can do this kind of "action duration" filter in the user action analysis screen you cannot create a metric off it like for service key requests:



Another approach would be to create an Application Metric that would count the number of requests of a specific user action, however this is also not possible, only time based metrics (no counting) for user actions are available:



This concludes that one cannot create an SLO specific for a key user action count, but would need to revert to a APDEX only "bucketing" of user actions (using the apdex thresholds and then use the apdex category in the SLO query/metrixcs).

Is that assumption correct or has someone come up with another idea?

Certified Dynatrace Master, Dynatrace Partner -

DynaMight Champion
DynaMight Champion

Oh my! I found an inconsistency in how Dynatrace handles created custom metrics depending on where you create them.

This is important to know for those who might want to tackle something similar!

When you create a service-based metric (such as key requests or from the multi-dimensional analysis screen), you must select the type of aggregation (e.g. count). This will create ONLY a count metric with no other aggregations, like this one (notice the Aggregations: auto, value😞


However if you create a APPLICATION-based metric (such as key user actions from the user action analysis screen or the application configuration), you must select the type of metric (e.g. user action duration, visually complete,...). Then dynatrace will create the different aggregations (also the count aggregation) for you, like this one (notice the Aggregations: auto, avg, count, max, min, sum):



This is inconsistent and very counter-intuitive. I'd expect this to be done in the same way!
With that said, you can create the SLO definition based on the count of fast/slow/total key user actions, but have to specify the aggregation in the metric query like this (notice the extra count() aggregation:






Certified Dynatrace Master, Dynatrace Partner -

Yes.. I ran into the very same situation a year ago. Also defining a custom metric for each key user action is ... not very convenient. It's easier to use USQL, if it fits your use case and you accept the USQL limitations.

Certified Dynatrace Master | Alanata a.s., Slovakia, Dynatrace Master Partner

Featured Posts