Monitoring metrics of public API

🌐 This document is available in both English and Ukrainian. Use the language toggle in the top right corner to switch between versions.

1. Dashboard overview

The Platform features a Grafana dashboard designed to monitor performance metrics and the volume of requests made to public integration points from unauthenticated users and third-party systems.

expose public api 4

The registry’s technical administrators can utilize data from the dashboard to monitor trends and the state of metrics. This information can assist in determining the need for optimization adjustments, such as altering request limits.

2. Accessing the dashboard

To view the dashboard, follow these steps:

  1. Log in to the Control Plane administrative panel.

  2. Select your registry > Edit > Quick Links.

    For more on quick links, refer to the page Quick links to registry services.
  3. Follow the link to the Platform’s monitoring web interface – Grafana.

    grafana bpms 1

  4. Sign in using the Sign in with OAuth option.

    grafana bpms 2

  5. On the left sidebar, select Manage > Dashboards > Go to folder.

    grafana bpms 3

  6. In the search bar, locate Public API Kong Metrics, click namespace, and then select your registry.

    expose public api 8

3. Viewing dashboard metrics

For monitoring the performance and tracking requests to your API, utilize the metrics dashboard. Continuously monitoring these metrics will help you identify potential API performance issues and address them timely.

Select the public endpoint for which you want to view metrics. This can be done in the public endpoint section. Choose either all the created points or specific ones.

expose public api 9

  • The Request rate section shows the number of requests for each integration point.

    • Total requests per second (RPS) displays the overall volume of API requests per second.

    • RPS per route analyzes the volume of requests for each route individually.

    expose public api 4

  • The Requests by status code sections (2xx, 4xx, 5xx, and other) present statistics on successful requests, client errors, server errors, and other response codes.

    expose public api 10

  • The Latencies section indicates the server’s response time to requests.

    • Request time per route denotes the average server response time for each route.

      expose public api 11

    • Kong Proxy latency per route reflects the delay between the server receiving a request and sending its response.

      expose public api 11 1

    • Upstream time across per route determines the time the server takes to process the request and receive a response from the upstream service.

      expose public api 11 2