{ Community }
  • Academy
  • Docs
  • Developers
  • Resources
    • Community Articles
    • Apigee on GitHub
    • Code Samples
    • Videos & eBooks
    • Accelerator Methodology
  • Support
  • Ask a Question
  • Spaces
    • Product Announcements
    • General
    • Edge/API Management
    • Developer Portal (Drupal-based)
    • Developer Portal (Integrated)
    • API Design
    • APIM on Istio
    • Extensions
    • Business of APIs
    • Academy/Certification
    • Adapter for Envoy
    • Analytics
    • Events
    • Hybrid
    • Integration (AWS, PCF, Etc.)
    • Microgateway
    • Monetization
    • Private Cloud Deployment
    • 日本語コミュニティ
    • Insights
    • IoT Apigee Link
    • BaaS/Usergrid
    • BaaS Transition/Migration
    • Apigee-127
    • New Customers
    • Topics
    • Questions
    • Articles
    • Ideas
    • Leaderboard
    • Badges
  • Log in
  • Sign up

Get answers, ideas, and support from the Apigee Community

  • Home /
  • Analytics /
avatar image
1

Alternative to Business Transactions API  

  • Export to PDF
Arvind Jain created · May 10, 2016 at 04:27 AM · 2.4k Views · edited · May 10, 2016 at 04:34 AM

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∾curacy=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%’)
thub.nodes.view.add-new-comment
analytics api
Add comment Show 2
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image spadmanabhan ♦ · May 10, 2016 at 10:01 AM 0
Link

Create a custom report using URI patterns

This post is an addendum describing how the request_uri can be used as a filter condition in custom reports to identify metrics on the usage of these patterns in various apis.

Let’s assume that we are interested in metrics on proxy usage for an uripattern ‘%/products%’.

The following screenshot shows the Custom Report definition of how a simple report showing various metrics can be defined for this pattern.

Screen Shot 2016-05-10 at 3.04.54 PM.png

In this report, three metrics have been defined. There are no explicit dimensions defined, so the default dimension of apiproxy is picked.

The filter condition is specified as belows using the Advanced tab

Note: The user must create different reports for different uripatterns. The filter condition will allow additional terms but the will serve to narrow or broaden the results and not to group the results by a pattern.

A sample result screen is shown below

Screen Shot 2016-05-10 at 3.21.43 PM.png

These are the metrics for the specific uripattern ‘%/products%’

avatar image Sai Saran Vaidyanathan ♦   · May 23, 2017 at 01:54 AM 0
Link

@Arvind Jain / @spadmanabhan - do we have an update on this ?

We are still seeing a note to this community post when try to view the Proxy performance.

Article

Contributors

avatar image

Follow this article

21 People are following this .

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Navigation

Alternative to Business Transactions API

Related Articles

Is there an API to query "Business Transactions" Stats

  • Products
    • Edge - APIs
    • Insights - Big Data
    • Plans
  • Developers
    • Overview
    • Documentation
  • Resources
    • Overview
    • Blog
    • Apigee Institute
    • Academy
    • Documentation
  • Company
    • Overview
    • Press
    • Customers
    • Partners
    • Team
    • Events
    • Careers
    • Contact Us
  • Support
    • Support Overview
    • Documentation
    • Status
    • Edge Support Portal
    • Privacy Policy
    • Terms & Conditions
© 2021 Apigee Corp. All rights reserved. - Apigee Community Terms of Use - Powered by AnswerHub
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Post an idea
  • Spaces
  • Product Announcements
  • General
  • Edge/API Management
  • Developer Portal (Drupal-based)
  • Developer Portal (Integrated)
  • API Design
  • APIM on Istio
  • Extensions
  • Business of APIs
  • Academy/Certification
  • Adapter for Envoy
  • Analytics
  • Events
  • Hybrid
  • Integration (AWS, PCF, Etc.)
  • Microgateway
  • Monetization
  • Private Cloud Deployment
  • 日本語コミュニティ
  • Insights
  • IoT Apigee Link
  • BaaS/Usergrid
  • BaaS Transition/Migration
  • Apigee-127
  • New Customers
  • Explore
  • Topics
  • Questions
  • Articles
  • Ideas
  • Badges