Skip to main content

Monitoring for Gateway Instances

As we said in How does Apache APISIX connect to API7 Cloud, gateway instances upload Prometheus metrics to API7 Cloud. API7 Cloud collects and visualizes these metrics.

Users can sign in to the API7 Cloud and enter the Monitoring page to see the running status of their gateway instances.

Query Filter

By default, API7 Cloud shows metrics for all gateway instances among all services and their routes, which is a global view. Use the query filter if you want to see the metrics for a specific instance or a service (even a route).

You can use the instance and service/route filters simultaneously to see the monitoring data for the specific service/route in an instance.

Query Time Range

By default, API7 Cloud shows the metrics for the last five minutes. You can change the time range by selecting a time window. Values can be 5m, 30m, 60m, 6h and 12h.

Diagrams

API7 Cloud draws several diagrams according to the metrics collected from the gateway instances. You can see Apache APISIX Prometheus Plugin to learn more details.

Single Values

Single Values

  • Success Ratio: The ratio of successful requests to total requests.
  • Failure Count: The number of failed requests (during the time range). Requests whose status code is 4xx or 5xx will be counted.
  • Request Count: The number of requests (during the time range).
  • Online Gateway Instances: The number of online gateway instances.
tip

Only the gateway instances whose status is Healthy will be treated as online. Please read How to check Apache APISIX running status to learn more about Gateway instance status.

note

The Online Gateway Instance is a global metric so that the query filter won't affect it.

Status Codes Distribution

API7 Cloud also visualizes the status code distribution of the requests (since the time range), it also calculates the proportion for all the status codes.

Status Codes Distribution

Bandwidth

API7 Cloud collects and visualizes the bandwidth of the requests (since the time range).

Bandwidth

Both the inbound and outbound bandwidth are calculated.

QPS

You can see the QPS of the requests (since the time range).

QPS

QPS is calculated according the status code range (2xx, 3xx, 4xx, and 5xx)

Latency

The Latency diagrams show the mean latency of the requests (since the time range).

Latency

Server Connection

The Server Connection diagram shows the number of open connections for the gateway instances in the time range.

Server Connection

note

The Server Connection is a global metric so that the query filter won't affect it.


API7.ai Logo

API Management for Modern Architectures with Edge, API Gateway, Kubernetes, and Service Mesh.

Product

API7 Cloud

SOC2 Type IIISO 27001HIPAAGDPRRed Herring

Copyright © APISEVEN PTE. LTD 2019 – 2024. Apache, Apache APISIX, APISIX, and associated open source project names are trademarks of the

Apache Software Foundation