You support an application running on App Engine. The application is used globally and accessed from various device types. You want to know the number of connections. You are using Stackdriver Monitoring for App Engine. What metric should you use?
A. flex/connections/current
B. tcp_ssl_proxy/new_connections
C. tcp_ssl_proxy/open_connections
D. flex/instance/connections/current
Disclaimer
This is a practice question. There is no guarantee of coming this question in the certification exam.
Answer
A
Explanation
Key points are underlined.
You support an application running on App Engine. The application is used globally and accessed from various device types. You want to know the number of connections. You are using Stackdriver Monitoring for App Engine. What metric should you use?
An App Engine app is made up of a single application resource that consists of one or more services. Each service can be configured to use different runtimes and to operate with different performance settings. Within each service, you deploy versions of that service. Each version then runs within one or more instances, depending on how much traffic you configured it to handle.
https://cloud.google.com/monitoring/api/metrics_gcp#gcp-appengine
A. flex/connections/current (Metric for App engine & for version, show the current active connections for all instance in App Engine.)
B. tcp_ssl_proxy/new_connections (Metrics for Cloud Load Balancing.)
C. tcp_ssl_proxy/open_connections (Metrics for Cloud Load Balancing.)
D. flex/instance/connections/current (Metric for App engine & for current instance only.)