I am trying to create an alert profile which notifies just for 404 http errors from a specific application to Contribution department from the Portal which is the group who makes contribution of this static content (basically .js and images).
Do you know how to do it? I don't see any http 4xx errors from the predefined error list in the Alert Profile section.
Thanks in advance.
Solved! Go to Solution.
I'd Recommend you make a custom event for alerting - keep in mind this will not cost any custom metrics. So GO into Settings>AnomolyDetection>Customer Events for Alerting> Create Custom Event. Type in "4xx" and you will see all the options open to you.
Once there, select the one that you desire. Once selected you can narrow down the scope, to a specific Management Zone and so on as you see fit. Then select the style, Static or Adaptive. Set the rules, and give it a good name.
At this point the event is created and you just need to link it to your alert profile. SO jump into the alert profile you want it to be included in.
Once there, if the severity rules don't include "Custom Alert" then go ahead and add that in as you'll need it. Once added, or if it already existed, scroll down to the event filter. Select Custom, select title and then define the rules. Toss in the Title of the Event we just created.
You're all set! the alert profile will now only alert on that singular event that you created! you can expand this out and make more events but use a universal title like "Easy Travel - CPU; Easy Travel - Memory and so on. So if you set the alert profile rules to titles that contain or begin with "Easy Travel" you will now include all the custom events that start with that value.
I got the first alert and the thing is that I need a list of missing images, js and the number of occurrences. On the other hand I'd need to get this metric based on key user actions not services.
I am going to try to get it from User query language but I am not sure is is it possible to report missing resources to Mkt team.
You're welcome Alberto!
I dont think you can alert as of now at the user level like that. You can set up error detection at the application level as well from the applications setting. The USQL you can also pull the number of errors and the users and so on. Do you have access to Dynatrace Chat Support? that's a quick and easy way to get a solution in place for USQL.
finally we could create a metric based on a Multidimensional Analysis which brings up missing Resources with http 404 error:
Then, we created a Calculated Metric with the following definition:
The result is a Dashboard listing missing resources a Customer has Subscribed to the Dashboard: