Hello,
We are attempting to get a better picture of how some of our external APIs are performing but we are having trouble grouping them correctly because they are based off a GET request. For example, take the following API calls we see a lot:
/api/ItemEnd/GetOptionImages/<itemNumber>
/api/CartIntegration/CartLink/<customerId>/<itemNumber>
For those examples, <customerId> & <itemNumber> are both parameters that are ultimately used within the API to return back data. The issue for us is that those parameters are the equivalent of a query string parameter and as such, they will vary quite a bit considering the size of the product catalogs for our clients. I wanted to see if there is a way that we can create a view/dashboard that would allow us to look at a glance and validate the health of our APIs.
I'm sure there is a way to do this but it is escaping me.
Thanks!
Chris
Answer by Chris E. ·
Nevermind, I had to set up a URI Pattern Value measure & use a regular expression to do it. Here is what I used in case it helps someone else.
/api/(?<controller>.+?)/(?<action>.+?)/
I used this as both a filter & a split and that gave me the dashboard I was looking for.
JANUARY 15, 3:00 PM GMT / 10:00 AM ET