# Specify availability of  a useraction in Synthetic monitor

**URL:** <https://community.dynatrace.com/t/specify-availability-of-a-useraction-in-synthetic-monitor/55314>\
**Category:** Synthetic Monitoring\
**Tags:** synthetic-monitoring\
**Created:** [March 19, 2026, 1:47pm UTC](https://community.dynatrace.com/t/specify-availability-of-a-useraction-in-synthetic-monitor/55314 "2026-03-19T13:47:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![grepei](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/grepei/32/408_2.png) [@grepei](https://community.dynatrace.com/u/grepei)\
**Post date:** [March 19, 2026, 1:47pm UTC](https://community.dynatrace.com/t/specify-availability-of-a-useraction-in-synthetic-monitor/55314/1 "2026-03-19T13:47:10Z")

</div>

Hi,

Version: Managed

Is there any possibility to calculate availability (%) for a single step of a browser clickpath monitor?

Eg.: the 3rd step is visiting a card payment service with an external URL and you want to measure the availability of this service.

Adding a new synthetic test for this URL only is a good solution but the question was different…

I could not find any solution from USQL neither by creating&nbsp; custom metrics. It seems availability is measure on usersession level only.

Thanks,

Gabor

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [March 19, 2026, 2:41pm UTC](https://community.dynatrace.com/t/specify-availability-of-a-useraction-in-synthetic-monitor/55314/2 "2026-03-19T14:41:54Z")

</div>

Hi,

If you have OneAgent installed in fullstack, maybe you can check payment service discovered by OneAgent instead of Synthetics.

Best regards

---

<div class="post-metadata">

**Author:** ![hannahmac](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/hannahmac/32/41823_2.png) [@hannahmac](https://community.dynatrace.com/u/hannahmac)\
**Post date:** [March 19, 2026, 3:54pm UTC](https://community.dynatrace.com/t/specify-availability-of-a-useraction-in-synthetic-monitor/55314/3 "2026-03-19T15:54:58Z")

</div>

You could calculate it using the metrics. This would be the same as the [new calculation used by Grail](https://docs.dynatrace.com/docs/observe/digital-experience/synthetic-on-grail/synthetic-calculations-latest#availability), rather than the one used by [Managed](https://docs.dynatrace.com/docs/observe/digital-experience/synthetic-monitoring/general-information/synthetic-calculations#availability), but they are pretty close.

Availability = ((total executions - failed executions)/total executions)\*100

```markup
((builtin:synthetic.browser.event.total:filter(and(or(in("dt.entity.synthetic_test_step",entitySelector("type(synthetic_test_step),entityId(~"SYNTHETIC_TEST_STEP-123~")"))))) - builtin:synthetic.browser.event.failure:filter(and(or(in("dt.entity.synthetic_test_step",entitySelector("type(synthetic_test_step),entityId(~"SYNTHETIC_TEST_STEP-123~")")))))) / builtin:synthetic.browser.event.total:filter(and(or(in("dt.entity.synthetic_test_step",entitySelector("type(synthetic_test_step),entityId(~"SYNTHETIC_TEST_STEP-123~")"))))))*100

```

I used the synthetic step id as it’s unique but if you know the step name isn’t used in any other monitors, you could use that.

---

<div class="post-metadata">

**Author:** ![grepei](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/grepei/32/408_2.png) [@grepei](https://community.dynatrace.com/u/grepei)\
**Post date:** [March 31, 2026, 8:26am UTC](https://community.dynatrace.com/t/specify-availability-of-a-useraction-in-synthetic-monitor/55314/4 "2026-03-31T08:26:28Z")

</div>

Card payment service is an external service, OneAgent cannot be used.

Rgds,

Gabor

---

<div class="post-metadata">

**Author:** ![grepei](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/grepei/32/408_2.png) [@grepei](https://community.dynatrace.com/u/grepei)\
**Post date:** [March 31, 2026, 8:33am UTC](https://community.dynatrace.com/t/specify-availability-of-a-useraction-in-synthetic-monitor/55314/5 "2026-03-31T08:33:09Z")

</div>

Complex USQL cannot be used for custom metrics. There are limitations in syntax and aggregation.

The most convenient way is to define a separate Synthetic for the specific step only.

We are trying to push the customer towards the SaaS solution, everything could be much easier for them.
