Before using the Business Transactions dashboard to analyze traffic metrics for specific URI patterns, it is necessary to first configure those URI patterns within the respective API proxies.
Over the next few weeks, as we incrementally update the underlying analytics platform, the business transactions dashboard and proxy performance reports for those API proxies configured with URI patterns may return an error. This issue will resolve itself once the upgrade is fully rolled out, and these queries will begin functioning as expected. Note - this will not impact you none of your API proxies are configured with URI patterns.
In the interim, here is an alternate analytics API call that can be modified to get results for an API proxy with configured URI patterns.
Let’s say you would like to get the sum of traffic for a particular URI pattern (eg., “/products”) for a particular time period. The following analytics API can be modified to include the URI pattern as part of the filter argument along with other metrics and dimensions. Other metrics and dimensions can also be added to the call as needed.
API call template:
[https://api.enterprise.apigee.com/v1/organizations/<org>/environments/<env>/stats/apiproxy?_optimized=js&accuracy=100&limit=14400&select=sum(message_count),sum(is_error)&sort=DESC&sortby=sum(message_count)&timeRange=MM%2FDD%2FYYYY+HH:mm:ss~MM%2FDD%2FYYYY+HH:mm:ss&timeUnit=day&tsAscending=true&filter=(request_uri+like+‘%products%’)](https://api.enterprise.apigee.com/v1/organizations/<org>/environments/<env>/stats/apiproxy?_optimized=js&accuracy=100&limit=14400&select=sum(message_count),sum(is_error)&sort=DESC&sortby=sum(message_count)&timeRange=MM%2FDD%2FYYYY+HH:mm:ss~MM%2FDD%2FYYYY+HH:mm:ss&timeUnit=day&tsAscending=true&filter=(request_uri+like+‘%products%’))


