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:


Related topics

Viewing monitor information in the TrueSight console Open link

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

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.

  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 nameUnitDescription
      CPU UtilizationPercent (%)Displays the allocated CPU that is currently in use on the App Engine flexible environment.
      Disk Read BytesKBDisplays the number of bytes read from the disk in KB.
      Disk Write BytesKBDisplays the number of bytes written to the disk in KB.
      Memory UsageKBDisplays the total memory used by the running instances.
      Network Bytes ReceivedKBDisplays the number of incoming network bytes across all virtual machines in the App Engine flexible environment.
      Network Bytes SentKBDisplays 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 nameUnitDescription
      CPU UsagePercent (%)Displays the total CPU used by the running instances.
      Memcache Bytes ReceivedKBDisplays the number of bytes received by app from the memcache API.
      Memcache Bytes SentKBDisplays the number of bytes sent by the app through the memcache API.
      Memcache Operations#Displays the number of memcache key operations.
      Memory UsageKBDisplays the total memory used by running instances.
      Network Bytes ReceivedKBDisplays the number of incoming network bytes across all virtual machines in the App Engine Standard environment.
      Network Bytes SentKBDisplays the number of outgoing network bytes across all the virtual machines in the App Engine Standard environment.

      You can view the event details in the Event tab. 

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

Was this page helpful? Yes No Submitting... Thank you

Comments