Was this helpful?

Possible causes

  • If the slowness being seen by just one app or is it from multiple apps? If one app, then it might be a problem with the app. 
  • If it being seen by multiple users across multiple apps and users seem to be in the same geo location, then it could be a network issue
  • If you're not seeing either of these issue, it could be an issue on the gateway. If you recently added  or updated a policy. It could be configured incorrectly.
  • If the total response time is being reported as high, but the average endpoint response time has not changed then it might be an Apigee issue. If the average endpoint response time is also high then it could be an issue in the network between Apigee and the target server, or an internal application server

Try this

  • Use contextual analytics to identify which API is showing an increased response time
  • Use Trace to figure out if the increased response time is happening in your live traffic
  • Generate a latency report to figure out exactly which API and resource is causing the issue

Use contextual analytics to identify the issue

  1. Click APIs in the main menu.
  2. In the Performance section, click the Metrics menu and choose Average Response Time.
    The chart will show you the response time for all your APIs. Look for spikes or gradual increases in response time. You should be able to quickly see which API is having an issue.

​Run a trace to identify the bottleneck

Trace tells you if the problem that's being reported is happening right now. It lets you identify where the slow API is occurring in your live traffic 

  1. Click on the API that seems slower than usual. The API proxy's details page will appear.
  2. Click the Trace button to set up a trace session for the API. This will help you better understand where the bottleneck is occurring.
    For example, you might see in the trace session that a POST call is taking much longer than GET calls.

Create a custom report

Create a new report to measure max latency by app and resource. This report lets you figure out if there is a pattern of service issues. You can use this as yet another data point to identify the issue.

Set up the basics and data display

  1. On the Analytics tab, click Custom Reports, then the + Custom Report button.
  2. Enter Latency Report as the Report Name.
  3. Enter a brief description of the report in the Report Description field.
  4. Select the Column chart type.
  5. Select prod from the Environment menu.
  6. Select Hourly as the Aggregation Interval.

Set up aggregation and Y-axis measures

  1. Select Max as the Aggregation Function.
  2. Select Total Response Time as Measure 1. This will be the primary measure for the report.

Set up chart dri​ll down

These selections refine the view of your content.

  1. Choose API Proxy as Drilldown 1. This measure lets you see the response time of all the APIs in your org.
  2. Choose Request Path as Drilldown 2. This dimension will break up the responses by the actual resources in an API. So using this drilldown you can see the response time by resource.

Analyze the report

The new latency report will show you the response times by API and then by each resource within an API. By combining this information with what you know about your network architecture, you can quickly find issues that may be related to your infrastructure.

  1. Locate the worst performing API (that is, the one with the highest latency).

  2. Drill down by selecting the API and view the worst performing resource.

Decide on an action

Now that you know which resource is performing badly, you can examine your network to see if there's a service issue, or you can add a 3rd dimension like Developer App to see which apps are impacted by this slow resources, or developer to figure out which developers that are impacted by the slow resource.

コメントを追加

Provide your email address if you wish to be contacted offline about your comment.
We will not display your email address as part of your comment.

We'd love your feedback and perspective! Please be as specific as possible.
Type the characters you see in this picture. (verify using audio)

Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.