I have 5 different critical API's for which i have created separate measures , How can I capture all remaining uri’s in one measure?
Should I follow as shown in the attached image ? Or is there a way to do so ?
Answer by Martina R. ·
Hi Sandeep, use pipe "|" in this format (/api/app/Example1|/api/app/Example2|/api/app/Example3|/api/app/Example4|/api/app/Example5) if you are not sure about the pattern, just switch the match to "matches not" instead of "unequal". Is this working for you?
Answer by Sandeep R. ·
By Using the filter unequal and specifying your 5 key transaction in a measure, How do i Separate the 5 URI's in the URI field ?
with ',' Comma or with ';' semicolon
Answer by Martina R. ·
Hi Sandeep, There is no measure at them moment, that can use the pattern "all but the previously defined". Your initial approach seem to be a good option. If you want to create a measure based on the metric web requests response time, using the filter unequal and specifying your 5 key transaction would do the job. However, if you wish to calculate additional metrics for your remaining transactions, as a filter in a custom Server-side PurePath BT you can use e.g. "URI pattern value" with URI pattern "Custom" and Match "not contains" your key transaction pattern and then you will have calculated count, failure rate and PurePath response time. You can also add here your web request response time if you wish (section calculate results in the configuration window). This link gives an overview of a Business Transaction in Dynatrace AM: https://community.dynatrace.com/community/display/... Please let us know if this is what you are looking to achieve Kind regards, Martina
Answer by Sandeep R. ·
I am not that sure, whether the Regex pattern would work for me, as I am not sure or aware of the remaining API's
Below mentioned are the URI patterns for which i have created the measure.
You could try:
URI : Regex : (/api/app/(?:Example1|Example2|Example3|Example4|Example5))
Tested on http://regexpal.com/.
Add this measure in BT Splitting, you should see 5 web URIs.
Answer by Sandeep R. ·
Thanks for the response, However other than these known 5 API's(for which i have created the measure) there are several API's.. for which names or API details are not know.
My major concern is that, I have captured these 5 exclusively by creating a measure, I need to also look for an option, with either a BT or a measure to capture all other(except these known 5 API's ) API's as well.
Hope my question is much clear now.
Thanks & Regards
Sandeep
Answer by Sreerag M. ·
creating a measure for all remaining uri would a better solution. the challenge would be to find the matching pattern/regex for all remaining uris. Also you need to identify the occurrence of web request calls to the api. if there could be more than one call to api in a purepath then best option is a measure because no BT for web requests. Here is the RFEBusiness Transaction for Web Request if you wish to vote for that feature.
Answer by Saanjeith V. ·
You could create a Business Transaction with a measure for each of the web requests either as a split or utilize the OR/AND logic.
Cheers,
Sanj
JANUARY 15, 3:00 PM GMT / 10:00 AM ET