Ana içeriğe geç

Endpoint Traffic & Time Metrics

Metrics — Endpoints tab, Endpoint Traffic Metrics sub-report, and method/endpoint table
Info

Since an API Proxy can be loaded into multiple environments, metrics must also be evaluated according to the environment it is loaded into. Therefore, in all analytics screens, metrics are filtered by first selecting environment information.

Warning

Metric data cannot be displayed for environments where Elasticsearch integration is not configured. In this case, a warning message is displayed on the screen.

Metrics Page

This report is the Endpoint Traffic Metrics sub-report on the Endpoints tab of the Metrics page (documented as Endpoint Traffic & Time Metrics). Open it via Administration > Reports > Metrics or Analytic > Reports > Metrics in the project menu, then select Endpoint Traffic Metrics on the Endpoints tab.

The Endpoints tab also includes Endpoint Size Metrics and Endpoints with No Requests.

While the Gateway Traffic & Time Metrics report groups records by API Proxy, this report shows the same traffic and duration metrics broken down by Project / API Proxy / Method/Endpoint.

Filtering

The filter row at the top of the Metrics page is shared across all tabs and sub-reports:

OptionDescription
EnvironmentThe environment whose metrics are calculated. The report is queried against the selected environment's Elasticsearch data
Project(Admin menu only) Filter metrics across multiple selected projects
Date RangeThe time range over which metrics are calculated. Defaults to the last 1 hour
RefreshRe-queries the currently displayed sub-report with the selected filters
Excel ExportExport on the shared filter row; downloads the list for the active sub-report

The sub-report row includes Choose Your Refresh Time (default: Manual) and a refresh button.

Table Column Descriptions

Information

ColumnDescription
ProjectName of the project the record belongs to (only shown in the Admin menu)
API ProxyName of the related API Proxy
Method/EndpointThe combination of HTTP method and endpoint path (e.g., GET /pet/findByStatus)

Traffic Metrics (count)

Numeric breakdown of the requests received by this method/endpoint within the selected date range:

ColumnDescription
SuccessfulNumber of requests resulting in a successful (2xx) response code
BlockedNumber of requests blocked due to security policies, rate limiting/quota, etc.
ErrorNumber of requests resulting in an error (4xx, 5xx) response code
TotalTotal number of requests (Successful + Blocked + Error)

Request Pipeline Time (ms)

The time spent processing request-side policies (auth, transformation, validation, etc.) between the request reaching Apinizer and it being routed to the backend:

ColumnDescription
Min.The smallest observed value for this duration
Max.The largest observed value for this duration
Avg.The average value for this duration

Routing Time (ms)

The time between the request being sent to the backend and the response being received from the backend (the backend call/network time):

ColumnDescription
Min.The smallest observed value for this duration
Max.The largest observed value for this duration
Avg.The average value for this duration

Response Pipeline Time (ms)

The time spent for the response coming back from the backend to pass through response-side policies (transformation, masking, etc.) before being returned to the client:

ColumnDescription
Min.The smallest observed value for this duration
Max.The largest observed value for this duration
Avg.The average value for this duration

Total Time (ms)

The end-to-end total time from the request reaching Apinizer to the response being returned to the client (Request Pipeline + Routing + Response Pipeline):

ColumnDescription
Min.The smallest observed value for this duration
Max.The largest observed value for this duration
Avg.The average value for this duration