Our application is manually reporting user actions with custom string properties appended to each. We have also created a custom metric so that we could make multidimensional charts based on those string properties as dimensions. The multidimensional chart tool as well as USQL are both able to count those user actions and filter based on the string properties. However when we try to create a custom event for alerting based the Static threshold setting for that metric, it only shows time units (of the metric) to trigger the alert; even-though 'Count' is selected under the aggregate dropdown. I'm wondering if this is due to the type of our metric being a 'User action duration' metric. But the RumMetricDefinition object doesnt seem to have anything that could describe a user action count. Is there a way to create an alert that would trigger based on a certain count of custom user actions?
Solved! Go to Solution.
Another way to accomplish this would be to mark the particular user action of interest as a key user action.
Then when you create a custom event, you may filter to this (or several) key user actions using the action name rule-based filter.
This has the static threshold set against the count of the user actions, rather than the performance metric.
Hi Tim A.,
I was just using a generic example. I believe for your particular case, actually the property can only be applied as a filter when you create the metric. As the property cannot be a dimension (splitting value), then it could not be used in the alerting dimensions selection.
I may be wrong and would need to understand your exact metric and use case in more detail.
We are actually using those string properties as dimensions in multidimensional charts as well as USQL widgets. And when trying to create a custom event for alerting those properties do come up as dimensions. However the static threshold values can only be set as a time unit.
I believe you will need to create the metric based on Request Count or similar metric, instead of Response Time. Then only will you get the count and/or sum aggregation that you will need. For response time metric will have the time based aggregations, like average (time), min (time), max (time), etc.
Hi Tim A.,
If your string property is also a frontend property (not a server-side request attribute) and you also don't mind renaming the actions to contain that value, then yes it's possible using user action naming with custom placeholders.