Monitoring App Engine service


You can use the metrics from the following monitor types to determine the performance of the App Engine service.

The KM provides metrics to determine the CPU usage, disk operations, and network operations of the active versions of the App Engine service.

For more information, see the following sections:

Scenario

Smith is a Google Cloud Platform Technology Specialist in an IT organization. He monitors and compares the performance of different versions of App Engine service to ensure that the services run efficiently and do not cause any performance issues.

Current problem: Smith wants to know whether the App Engine services that are created using Standard and Flexible environment are running smoothly.

He wants to determine the level of consumed resources, that is, the number of disk reads and writes, CPU usage, network traffic, and memory used by the App and decide whether additional storage, bandwidth, or instance hours are required by the application.

Solution: Smith can use the App Engine metrics to quickly get the information that he wants. The metrics in the following monitor types can help him identify how the resources are currently being utilized by the App Engine instance.

Prerequisites: Let us assume that John, the TrueSight Presentation Server administrator, has already completed the necessary prerequisite tasks to set up the PATROL for Google Cloud Platform product so that Smith can use the monitor type to view data.

Workflow

The following illustration provides a high-level view of the process.

app_engine_usecase.png

Steps

Smith performs the following steps:

  1. Open the Devices page

    1. Click Monitoring > Devices 
  2. Select the Device that contains the configured Google Cloud Platform project

    The Device Details page is displayed. In the Monitors tab, expand the Google Cloud Project monitor to view the configured monitor types.

    App_engine_usecase.png

  3. Select the Google App Engine monitor. This is a container that holds all App Engine services.

    Expand the Google App Engine monitor to view the services. Services that are created using standard and flexible environment can be seen here. 

    1. App Engine Version Standard performance metrics

      The attributes that are marked as default Key Performance Indicators (KPI) are displayed. You can dynamically change the metric or other graph data using the graphing options. For a list of all the metrics, see App-Engine-Version-Standard-GCP_GAE_VERSION_STD page.

      Attribute name

      Unit

      Description

      CPU Utilization

      Percent (%)

      Displays the allocated CPU that is currently in use on the App Engine flexible environment.

      Disk Read Bytes

      KB

      Displays the number of bytes read from the disk in KB.

      Disk Write Bytes

      KB

      Displays the number of bytes written to the disk in KB.

      Memory Usage

      KB

      Displays the total memory used by the running instances.

      Network Bytes Received

      KB

      Displays the number of incoming network bytes across all virtual machines in the App Engine flexible environment.

      Network Bytes Sent

      KB

      Displays the number of outgoing network bytes across all the virtual machines in the App Engine flexible environment.

    2. App Engine Version Flexible performance metrics

      The attributes that are marked as default Key Performance Indicators (KPI) are displayed. You can dynamically change the metric or other graph data using the graphing options. For a list of all the metrics, see App-Engine-Version-Flexible-GCP_GAE_VERSION_FLEX page.

      Attribute name

      Unit

      Description

      CPU Usage

      Percent (%)

      Displays the total CPU used by the running instances.

      Memcache Bytes Received

      KB

      Displays the number of bytes received by app from the memcache API.

      Memcache Bytes Sent

      KB

      Displays the number of bytes sent by the app through the memcache API.

      Memcache Operations

      #

      Displays the number of memcache key operations.

      Memory Usage

      KB

      Displays the total memory used by running instances.

      Network Bytes Received

      KB

      Displays the number of incoming network bytes across all virtual machines in the App Engine Standard environment.

      Network Bytes Sent

      KB

      Displays the number of outgoing network bytes across all the virtual machines in the App Engine Standard environment.

      App_engine_usecase_flexible.png

      You can view the event details in the Event tab. 

      By default, some columns are hidden. Use the action menu action_menu.png that is located next to the table title to display the hidden columns.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*