Visualizing request states in Kibana

🌐 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 Request state dashboard provides an overview of the registry’s operations, including the status of external requests and an analysis of encountered errors. It enables quick assessment of the system’s overall health, identification of potential issues, and detailed analysis of API requests, the use of qualified electronic signatures (QES), and errors in various registry components.

The dashboard includes visualizations for monitoring microservice requests, tracking errors in the REST API, evaluating API gateway performance, and tools for dynamically filtering data by microservice. With its user-friendly visual representation, users can promptly identify issues and take the necessary corrective actions.

Table 1. Visualizations in the dashboard
Visualization name Description

Requests to registry microservices

Displays the total number of requests to registry microservices, categorized by HTTP response codes and containers.

Requests to API gateway

Shows the total number of external HTTP requests received by the registry, categorized by response statuses.

QES usage in the registry

Displays the total number of operations using qualified electronic signatures (QES) performed on the cryptoservice, categorized by type and execution status.

Errors in data factory REST API

Shows the number of errors encountered during requests to the data factory REST API, broken down by exception types.

Calls from Trembita (Secure Exchange Gateway)

Displays requests routed through the Trembita integration platform, categorized by response codes.

This functionality is specific to the Ukrainian implementation and may not apply or function as described in other contexts or regions. Please consult the local guidelines or documentation if you are implementing this outside Ukraine.

Unexpected EOF on client connection

Visualizes the number of errors due to unexpected connection failures with the database.

Analytical DB replication errors

Shows errors in the replication of the analytical database.

Microservices filter

Allows users to filter data by container name for easier analysis of specific microservices.

Sample visualizations are shown in the screenshots below:
dashboard 1
Figure 1. Requests to API gateway, errors in data factory REST API, and QES usage in the registry
dashboard 2
Figure 2. Requests to microservices

2. Dashboard setup instructions

To install this dashboard, follow these steps:

  1. Download the request-dashboard.json file.

  1. Replace all YOUR_REGISTRY_NAME placeholders in the file with the desired registry name in search queries using your preferred text editor. There are currently 8 placeholders.

    file prep 1

    file prep 2

    file prep 3

  2. Create 2 index patterns in the Kibana web interface: app- and *app-<REGISTRY-NAME>-*.

    <REGISTRY-NAME> refers to your registry name, e.g., app-test-registry-*.

    index pattern 1

    index pattern 2

  3. Import the prepared file from step 2 via the Kibana web interface.

    import dashboard 1

    import dashboard 2

    During the import, select the appropriate index pattern for the visualizations (app-REGISTRY-NAME-*).

    import dashboard 3

  4. Configure the dynamic filter.

    To ensure the Microservices filter works correctly, update the indexPattern ID as follows:

    1. Open the Requests to API gateway visualization.

      filter setup 1

    2. Copy the value of the index parameter from the kibanaSavedObjectMeta.searchSourceJSON section.

      filter setup 2

    3. Open the Microservices filter visualization and update the params.controls[0].indexPattern field in the visState section with the value from the previous step.

      Default indexPattern value: APP-*_INDEX_ID.

      filter setup 3

      filter setup 4

      filter setup 5

  5. Click Save visualization object.

  6. In the Dashboard  Request state section, you can view the status of requests during registry operations.

    final result 1