# Is there a way to create SLO on Key User Action visually complete times?

**URL:** <https://community.dynatrace.com/t/is-there-a-way-to-create-slo-on-key-user-action-visually-complete-times/31645>\
**Category:** Real User Monitoring\
**Tags:** user-actions\
**Created:** [May 30, 2021, 11:27am UTC](https://community.dynatrace.com/t/is-there-a-way-to-create-slo-on-key-user-action-visually-complete-times/31645 "2021-05-30T11:27:38Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yosi\_Neuman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/yosi_neuman/32/9845_2.png) [@Yosi\_Neuman](https://community.dynatrace.com/u/Yosi_Neuman)\
**Post date:** [May 30, 2021, 11:27am UTC](https://community.dynatrace.com/t/is-there-a-way-to-create-slo-on-key-user-action-visually-complete-times/31645/1 "2021-05-30T11:27:38Z")

</div>

Hi guys,

Customer created few KUAs and ask to create SLO on each one of them.

So we wanted to create a metric for counting KUA invocations with visually complete faster then the median and another metric for the total invocations of this KUA, in order to divide the first with the second.

But there is no way to create a metric for visually complete for key user action, only action duration is available.

Then we thought on setting the APDEX for each KUA manually but we have found that there is no APDEX metric for KUA only for application…

So question here is: **Is there a way to create SLO on Key User Action visually complete times?**

Thanks in advance

Yos

---

<div class="post-metadata">

**Author:** ![khoros\_anonymous](https://avatars.discourse-cdn.com/v4/letter/k/f9ae1b/32.png) [@khoros\_anonymous](https://community.dynatrace.com/u/khoros_anonymous)\
**Post date:** [May 30, 2021, 2:27pm UTC](https://community.dynatrace.com/t/is-there-a-way-to-create-slo-on-key-user-action-visually-complete-times/31645/2 "2021-05-30T14:27:22Z")

</div>

You can create the metric in the metric settings of the App:

 ![Dante_0-1622384700493.png](https://global.discourse-cdn.com/dynatrace/original/2X/b/b480ead9f1b863d68a64357398599ac278090bd7.png)

You must select the action name, then it should be available to use it as a metric for the SLO. Never did something like this so I would assume that there are additional steps to have only the faster than the median values.

---

<div class="post-metadata">

**Author:** ![Yosi\_Neuman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/yosi_neuman/32/9845_2.png) [@Yosi\_Neuman](https://community.dynatrace.com/u/Yosi_Neuman)\
**Post date:** [May 31, 2021, 5:40am UTC](https://community.dynatrace.com/t/is-there-a-way-to-create-slo-on-key-user-action-visually-complete-times/31645/3 "2021-05-31T05:40:11Z")

</div>

Hi&nbsp;@Anonymous

Yep that was our first step to get the total number of call to this KUA, but for the next step on how to count the fast invocations (i.e. faster then 90 percentile) we did not find a way to do that … 😞

Yos

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [May 31, 2021, 7:28am UTC](https://community.dynatrace.com/t/is-there-a-way-to-create-slo-on-key-user-action-visually-complete-times/31645/4 "2021-05-31T07:28:42Z")

</div>

I don’t think that’s possible at the moment as the metric is calculated on the flight and you don’t have percentiles in it.

You can do the query for good user actions using USQL, but then you won’t be able to use SLO.&nbsp;  
It seems that for monitoring user-oriented objectives USQL is a more flexible way to go, albeit not usable for real-time monitoring and SLO input.

---

<div class="post-metadata">

**Author:** ![Yosi\_Neuman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/yosi_neuman/32/9845_2.png) [@Yosi\_Neuman](https://community.dynatrace.com/u/Yosi_Neuman)\
**Post date:** [May 31, 2021, 7:31am UTC](https://community.dynatrace.com/t/is-there-a-way-to-create-slo-on-key-user-action-visually-complete-times/31645/5 "2021-05-31T07:31:46Z")

</div>

Hi&nbsp;[@Julius\_Loman](https://community.dynatrace.com/user/3364)

Will add RFE for this capability to SLO / metrics

Thanks !

Yos

---

<div class="post-metadata">

**Author:** ![r\_weber](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/r_weber/32/24884_2.png) [@r\_weber](https://community.dynatrace.com/u/r_weber)\
**Post date:** [May 31, 2021, 7:58am UTC](https://community.dynatrace.com/t/is-there-a-way-to-create-slo-on-key-user-action-visually-complete-times/31645/6 "2021-05-31T07:58:52Z")

</div>

Hi&nbsp;[@Yosi\_Neuman](https://community.dynatrace.com/user/6931)&nbsp;,

not sure if that helps, but in the Application itself you can create calculated metrics. you can select visually complete there and specify a limit/filter on time which would only count the ones above a certain time (your SLO target).

 ![r_weber_0-1622447687884.png](https://global.discourse-cdn.com/dynatrace/original/3X/0/8/0884498e3d6b69b1c78e480cb729e4b89edd9047.png)

Then also create one that counts all key action invocations regardless of the VC time and use both metrics in the SLO to determine how many were above and below (effectively calculating the SLO target). That’s how I do it.

Reinhard

---

<div class="post-metadata">

**Author:** ![Yosi\_Neuman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/yosi_neuman/32/9845_2.png) [@Yosi\_Neuman](https://community.dynatrace.com/u/Yosi_Neuman)\
**Post date:** [May 31, 2021, 8:08am UTC](https://community.dynatrace.com/t/is-there-a-way-to-create-slo-on-key-user-action-visually-complete-times/31645/7 "2021-05-31T08:08:08Z")

</div>

Hi&nbsp;[@r\_weber](https://community.dynatrace.com/user/35901)

We tried that too, but the issue with this one is that the only filter here is **action duration** and there is no **visually complete** &nbsp;filter 😞

 ![Yosi_Neuman_0-1622448360502.png](https://global.discourse-cdn.com/dynatrace/original/3X/e/f/efa996d8604e0b67a4ec1a83768bb705e62cad50.png)

So we are back in square one

Yos

---

<div class="post-metadata">

**Author:** ![Yosi\_Neuman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/yosi_neuman/32/9845_2.png) [@Yosi\_Neuman](https://community.dynatrace.com/u/Yosi_Neuman)\
**Post date:** [May 31, 2021, 2:39pm UTC](https://community.dynatrace.com/t/is-there-a-way-to-create-slo-on-key-user-action-visually-complete-times/31645/8 "2021-05-31T14:39:50Z")

</div>

Eventually we will use here APDEX metric for KUA

 ![Yosi_Neuman_0-1622471909985.png](https://global.discourse-cdn.com/dynatrace/original/3X/e/3/e32afaa328284a0a6e8a69a09ccb1e713f14453b.png)

 ![Yosi_Neuman_1-1622471935313.png](https://global.discourse-cdn.com/dynatrace/original/3X/d/e/de91d18036ab9b998f687fa5eb725f29d080391c.png)

It’s not perfect but it’s better than nothing 🙂

Yos

---

<div class="post-metadata">

**Author:** ![r\_weber](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/r_weber/32/24884_2.png) [@r\_weber](https://community.dynatrace.com/u/r_weber)\
**Post date:** [May 31, 2021, 4:16pm UTC](https://community.dynatrace.com/t/is-there-a-way-to-create-slo-on-key-user-action-visually-complete-times/31645/9 "2021-05-31T16:16:55Z")

</div>

If I’m not completely wrong “Action Duration” in that case (when you select “Visually Complete” as the KPI) refers to “Visually complete” timing. Though not really intuitive…

 ![r_weber_0-1622477807453.png](https://global.discourse-cdn.com/dynatrace/original/3X/8/2/82a86fdace2cbe7499ecc8758bb2f31019abcbf0.png)

---

<div class="post-metadata">

**Author:** ![Yosi\_Neuman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/yosi_neuman/32/9845_2.png) [@Yosi\_Neuman](https://community.dynatrace.com/u/Yosi_Neuman)\
**Post date:** [May 31, 2021, 4:36pm UTC](https://community.dynatrace.com/t/is-there-a-way-to-create-slo-on-key-user-action-visually-complete-times/31645/10 "2021-05-31T16:36:32Z")

</div>

[@r\_weber](https://community.dynatrace.com/user/35901)&nbsp;We have checked that and its look like the duration time not visually complete.

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [May 31, 2021, 7:21pm UTC](https://community.dynatrace.com/t/is-there-a-way-to-create-slo-on-key-user-action-visually-complete-times/31645/11 "2021-05-31T19:21:43Z")

</div>

I agree with&nbsp;[@Yosi\_Neuman](https://community.dynatrace.com/user/6931)&nbsp;, it seems it’s just the user action duration metric described [here](https://www.dynatrace.com/support/help/shortlink/user-actions#user-action-timings).

---

<div class="post-metadata">

**Author:** ![ScottD](https://avatars.discourse-cdn.com/v4/letter/s/eada6e/32.png) [@ScottD](https://community.dynatrace.com/u/ScottD)\
**Post date:** [August 18, 2022, 8:10pm UTC](https://community.dynatrace.com/t/is-there-a-way-to-create-slo-on-key-user-action-visually-complete-times/31645/12 "2022-08-18T20:10:30Z")

</div>

Late reply, sorry… This is essentially what I did, except that I multiplied the metric by 100 because it’s an SLO (range 0-100%) based on an Apdex, not a pure Apdex (range 0-1), and I included only real users:

```markup
(100)*(builtin:apps.web.action.apdex:filter(and(eq("User type","Real users"))):splitBy())

```

Obviously, the Target/Warning percentages also get multiplied by 100 (in effect), meaning 80 and 90, rather than 0.8 and 0.9.
