Monitoring App Engine service
You can use the metrics from the following monitor types to determine the performance of the App Engine service.
- Google App Engine (GCP_GAE)
- App Engine Service (GCP_GAE_SERVICE)
- App Engine Version Flexible (GCP_GAE_VERSION_FLEX)
- App Engine Version Standard (GCP_GAE_VERSION_STD)
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.
- Define a monitoring policy from the TrureSight console.
- Ensure that you have provided the required user permissions before configuring the KM.
- Configure the PATROL for Google Cloud Platform product for monitoring. Ensure that App Engine monitoring is enabled while configuring the KM.
- Grant Smith the required permissions to view the monitored data
Workflow
The following illustration provides a high-level view of the process.
Steps
Smith performs the following steps:
Open the Devices page
- Click Monitoring > Devices
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.
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.
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. 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. 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.
Comments
Log in or register to comment.