# User action faillure (error) rate

**URL:** <https://community.dynatrace.com/t/user-action-faillure-error-rate/20815>\
**Category:** Real User Monitoring\
**Tags:** user-actions, mobile-monitoring\
**Created:** [November 16, 2020, 3:51pm UTC](https://community.dynatrace.com/t/user-action-faillure-error-rate/20815 "2020-11-16T15:51:12Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Malaik](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/malaik/32/32673_2.png) [@Malaik](https://community.dynatrace.com/u/Malaik)\
**Post date:** [November 16, 2020, 3:51pm UTC](https://community.dynatrace.com/t/user-action-faillure-error-rate/20815/1 "2020-11-16T15:51:12Z")

</div>

Hello,

How can I make a tile (or dashboard) to count or to view the error rate for the user actions

Note : the application is Mobile app!

Thanks

---

<div class="post-metadata">

**Author:** ![ChadTurner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chadturner/32/161_2.png) [@ChadTurner](https://community.dynatrace.com/u/ChadTurner)\
**Post date:** [November 17, 2020, 6:08pm UTC](https://community.dynatrace.com/t/user-action-faillure-error-rate/20815/2 "2020-11-17T18:08:09Z")

</div>

You can do this via the create custom chart and search for error and then select mobile application. This will also allow you to select out the mobile apps as desired.

 ![27335-1605636432743.png](https://global.discourse-cdn.com/dynatrace/original/2X/9/9558914862d75a6397286fd348d9783f66f2170f.png)

---

<div class="post-metadata">

**Author:** ![thomas\_billi](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/thomas_billi/32/25487_2.png) [@thomas\_billi](https://community.dynatrace.com/u/thomas_billi)\
**Post date:** [November 18, 2020, 7:53am UTC](https://community.dynatrace.com/t/user-action-faillure-error-rate/20815/3 "2020-11-18T07:53:24Z")

</div>

There’s no rate for User Actions with errors. I will put this on the backlog and maybe we will add it.

In addition to the request rate, there’s there are several options:

- create a Custom Metric via the MDA in the mobile application
- create a chart that shows the User Action count and the error count at the same time
- USQL
- Access data via API and chart in a custom tool

My answer is not very specific. Please let me know which options sound good for you and maybe even a bit more background on what you a looking for and I will follow-up with more detailed information.

---

<div class="post-metadata">

**Author:** ![Malaik](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/malaik/32/32673_2.png) [@Malaik](https://community.dynatrace.com/u/Malaik)\
**Post date:** [November 18, 2020, 8:58am UTC](https://community.dynatrace.com/t/user-action-faillure-error-rate/20815/4 "2020-11-18T08:58:27Z")

</div>

Hi [@Chad T.](https://answers.dynatrace.com/users/36422/view.html)

Thanks for your comment,

Yes, I explore this option but the result is not satisfying : I cannot find any metric for request rate that allow me to split by user action, request …

---

<div class="post-metadata">

**Author:** ![Malaik](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/malaik/32/32673_2.png) [@Malaik](https://community.dynatrace.com/u/Malaik)\
**Post date:** [November 18, 2020, 9:03am UTC](https://community.dynatrace.com/t/user-action-faillure-error-rate/20815/5 "2020-11-18T09:03:34Z")

</div>

Hi [@Thomas B.](https://answers.dynatrace.com/users/37349/view.html)

1- Do you have the exact way to create the custom metric for that ?

2- Create a chart that shows the User Action count and the error count at the same time : no split by request, action …

3- I explore this option, but the customer insist on the rate 😢

 ![27354-1605690210666.png](https://global.discourse-cdn.com/dynatrace/original/2X/1/158d82e879237bf47d9d77a861103c21a49a9316.png)

4- Example ?

---

<div class="post-metadata">

**Author:** ![thomas\_billi](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/thomas_billi/32/25487_2.png) [@thomas\_billi](https://community.dynatrace.com/u/thomas_billi)\
**Post date:** [November 20, 2020, 12:57pm UTC](https://community.dynatrace.com/t/user-action-faillure-error-rate/20815/6 "2020-11-20T12:57:27Z")

</div>

Regarding the options that I’ve listed above, most of them will require you to do the actual charting outside of Dynatrace.

But we have an upcoming feature, that will be released early next year: SLI and SLO.

This will allow you to create an SLI for ‘healthy’ User Actions, by comparing the count for the Custom Metric that you create for ‘healthy’ User Actions against the total count of User Actions for your app.

Once the SLI has been created, it will have an error budget and warning state and it can be added to a dashboard.

This is probably what you are looking for

a note: it’s not totally straightforward, since the Custom Metric that can be created via the MDA (see below), will measure duration and here the count is needed. This can be achieved by appending `:(count)` to the key of the metric when defining the SLI.

on creating a Custom Metric:

The way to go is to create a custom metric for “healthy” User Actions. i.e. in the MDA you need to filter for user actions that have no error and press “Create Metric”.

That provides you with a metric for the total count and a metric for the “healthy” count.

To chart that in an external tool, you can access these metrics via API (in the upper right corner press on the user icon look for “Environment API v2” in the menu that opens; on that API documentation page look for “Metrics”).

---

<div class="post-metadata">

**Author:** ![thomas\_billi](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/thomas_billi/32/25487_2.png) [@thomas\_billi](https://community.dynatrace.com/u/thomas_billi)\
**Post date:** [March 10, 2021, 12:18pm UTC](https://community.dynatrace.com/t/user-action-faillure-error-rate/20815/7 "2021-03-10T12:18:00Z")

</div>

Hey! In the meantime, we have released a new feature ‘SLO’ which allows you to compare two metrics to calculate a success rate.

With this you could e.g. use the Apdex to measure total number of user actions against the number of frustrated user actions.

 ![SLO config for successful user actions.png](https://global.discourse-cdn.com/dynatrace/original/2X/b/b554f19f836f853e4f9cc513d272ce64412ddd88.png)
