This topic shows you how to view the information about calls to the database of an application. You can obtain an overview of the database calls of the application and view the information about SQL calls, exceptions, call sources, and operation snapshots.

Procedure

  1. Log on to the EDAS console.
  2. Perform one of the following operations as needed to go to the application details page:
    • In the left-side navigation pane, choose Resource Management > Container Service Kubernetes Clusters or Resource Management > Serverless Kubernetes Clusters. In the top navigation bar, select a region. In the upper part of the page, select a namespace. On the Container Service Kubernetes Cluster or Serverless Kubernetes Clusters page, click a cluster ID. In the Applications section of the Cluster Details page, click the name of the application for which you want to view the details.
    • In the left-side navigation pane, click Applications. In the top navigation bar, select a region. In the upper part of the page, select a namespace. Select Container Service or Serverless Kubernetes Cluster from the Cluster Type drop-down list and click the application name.
  3. In the left-side navigation pane of the application details page, choose Monitor > Database Invocation.

Overview

The Overview tab displays the information about the database. You can view the call relationship topology, time series curve of the number of requests, time series curve of the response time, and time series curve of the number of errors.

Optional:On the Overview tab, perform the following operations as needed:
  • Click the Settings icon to configure the display settings of the application topology.
    Note The settings are stored in the browser and remain effective the next time you access the Overview tab.
  • Click the plus sign icon or scroll the mouse wheel up to zoom in the application topology.
  • Click the minus sign icon or scroll the mouse wheel down to zoom out the application topology.
  • Click the RESET icon to restore the application topology to the default size.
  • Move the cursor over the statistics chart to view the statistics.
  • Select a period of time to view the statistics for the specified period.
  • Click chartIcon to view the statistics of the metric in a certain time period or compare the statistics of the same time period on different dates.

SQL analysis

The SQL Analysis tab displays the column chart of the number of SQL calls, the time series curves of the response time, and a list of SQL statements that are executed in the database.

Optional:On the SQL Analysis tab, perform the following operations as needed:
  • Move the cursor over the statistics chart to view the statistics.
  • Select a period of time to view the statistics for the specified period.
  • Click chartIcon to view the statistics of the metric in a certain time period or compare the statistics of the same time period on different dates.
  • To view the SQL call statistics of an SQL statement, click Invocation Statistics in the Actions column of the SQL statement.
  • To view the snapshots of the interface that is called by an SQL statement, click Interface Snapshot in the Actions column of the SQL statement.

Exception analysis

The Exception Analysis tab displays the information about exceptions of the database.

Optional:On the Exception Analysis tab, perform the following operations as needed:
  • Move the cursor over the statistics chart to view the statistics.
  • Select a period of time to view the statistics for the specified period.
  • Click chartIcon to view the statistics of the metric in a certain time period or compare the statistics of the same time period on different dates.
  • To view the statistics of an exception, click Invocation Statistics in the Actions column of the exception.
  • To view the details of an exception, click Details in the Actions column of the exception.

Call source

The Call source tab displays the information about the call sources of the database.

Call source
Optional:On the Call source tab, perform the following operations as needed:
  • To view the information about an application that calls the database or the information about a database interface that is called, enter the application or interface name in the search box and click the Search icon.
  • To view the snapshots of a database interface that is called by a call source, click view details next to the interface.
  • Move the cursor over the statistics chart to view the statistics.
  • Click chartIcon to view the statistics of the metric in a certain time period or compare the statistics of the same time period on different dates.

Interface snapshot

The Interface Snapshot tab displays the snapshots of all the interfaces that are called in the database.

Optional:On the Interface Snapshot tab, perform the following operations as needed:
  • To view the snapshots of an interface, enter the interface name in the search box and click the Search icon.
  • To view the trace of an interface, click the trace ID in the TraceId column of the interface.