Answer by John F. ·
I have a measure that extracts a string argument from a method executed at the beginning of a purepath that represents a specific operation being called through a web service. I would like to create an incident for each unique value of that measure (each operation) and the purepath state so we can generate alarms when the number of purepaths with the state of Error or Transaction Failed exceed a certain number per period. For example let's say the measure could have the values of "Validate Address", "Create Order", "Check Item". Now for "Validate Address" if the number of purepaths that result in a purepath state of Error exceeds 10% evaluated over 5 minutes then I want to generate an alarm. If the number of "Create Order" operations purepaths result in Error or Transaction Failed is greater than 1% evaluated over 5 minutes then send an alarm. Can this be done in dynaTrace 5.6 and can you provide some hints?
Thanks
Answer by Graeme W. ·
John,
If you want separate limits for different argument values, you'll need to create a separate Business Transaction for each one.
For each BT, define a filter measure using the Method Argument Value measure set to a specific choice.
Then, open up Measures in the system profile and go to the Business Transactions section and find your business transaction. Open up the list of measures and find Failed Transaction Percentage. Open it for editing and set the threshold you want. Note the name of the measure – it will be something like "Failed Transaction Percentage of <BT name>".
Finally, you can create an incident based on that measure with an interval of five minutes.
Be careful that errors and failures are not the same thing. Look at the Error Detection section in the system profile to see the difference.
Let us know if this works!
-- Graeme
DECEMBER 12, 10:00 AM GMT / 2:00 PM ET
Learn how Dynatrace Real User Monitoring automatically detects errors that impact your end users caused by erroneous 3rd party or CDNs.
December 10, 4:00 pm CET / 10:00 am ET
Register here
Learn how Dynatrace Real User Monitoring automatically detects errors that impact your end users caused by erroneous 3rd party or CDNs.
December 10, 4:00 pm CET / 10:00 am ET
Register here
Learn how Dynatrace Real User Monitoring automatically detects errors that impact your end users caused by erroneous 3rd party or CDNs.
December 10, 4:00 pm CET / 10:00 am ET
Register here