OAG ANALYTICS DOES NOT CALCULATE THE AVERAGE PROCESSING TIME CORRECTLY (Doc ID 1937364.1)

Last updated on SEPTEMBER 21, 2017

Applies to:

Oracle API Gateway - Version 11.1.2 to 11.1.2 [Release 11gR2]
Information in this document applies to any platform.

Symptoms

When extracting a simple performance report in API Gateway Analytics, an unexpected metric is displayed in the report. 

The scenario, for example is:

- There is a display period of 1 day

- There were two service calls. One took 7.355 seconds, and the other took 1.368. During the rest of the day, no other service calls were performed.

- In the report header, they can see the following summary:

          2 Messages, Processing Time (Min) 1.368 milliseconds, Processing Time (Max) 7.355 milliseconds, Processing Time (Avg) 7.355 milliseconds

Why is the metric Processing Time (Avg) showing 7.355.  Shouldn't it be (1.368 + 7.355 ) / 2 = 4.3615 ?

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms