# how to monitor and send notification based on a specific xhr performance

**URL:** <https://community.dynatrace.com/t/how-to-monitor-and-send-notification-based-on-a-specific-xhr-performance/43726>\
**Category:** Real User Monitoring\
**Tags:** real-user-monitoring-classic, application-monitoring, javascript\
**Created:** [January 19, 2024, 5:31pm UTC](https://community.dynatrace.com/t/how-to-monitor-and-send-notification-based-on-a-specific-xhr-performance/43726 "2024-01-19T17:31:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![coolaid](https://avatars.discourse-cdn.com/v4/letter/c/eb9ed0/32.png) [@coolaid](https://community.dynatrace.com/u/coolaid)\
**Post date:** [January 19, 2024, 5:31pm UTC](https://community.dynatrace.com/t/how-to-monitor-and-send-notification-based-on-a-specific-xhr-performance/43726/1 "2024-01-19T17:31:38Z")

</div>

I’d like to monitor a specifc web xhr performance, like import/export, and send notifications action time&nbsp; above a specific value.

I have a rough idea and steps like:

1. include agentless script into my frontend js file, and enable xhr capturing.

2. create a metric event based on&nbsp;builtin:apps.web.actionDuration.xhr.browser

3. create corresponding alerting profile and notification

what I’m not sure is can I monitor the specific xhrs like “https://\*/export?\*”,&nbsp;“https://\*/import?\*”, so that I can display the specific xhr metrics in dashboard, the expression is something like builtin:apps.web.actionDuration.xhr.browser:splitBy():filter(pattern, “\*/export?\*”)

I’m new to dynatrace, and I know the expression is invaild, any help or hint will be highly apppreciated.

Thanks,

Joe

---

<div class="post-metadata">

**Author:** ![coolaid](https://avatars.discourse-cdn.com/v4/letter/c/eb9ed0/32.png) [@coolaid](https://community.dynatrace.com/u/coolaid)\
**Post date:** [January 23, 2024, 6:53am UTC](https://community.dynatrace.com/t/how-to-monitor-and-send-notification-based-on-a-specific-xhr-performance/43726/2 "2024-01-23T06:53:38Z")

</div>

problem resolved
