You are managing an application that exposes an HTTP endpoint without using a load balancer. The latency of the HTTP responses is important for the user experience. You want to understand what HTTP latencies all of your users are experiencing. You use Stackdriver Monitoring. What should you do?
Select an option, then click Submit answer.
Reference / correct answer:
ג€¢ In your application, create a metric with a metricKind set to GAUGE and a valueType set to DISTRIBUTION. ג€¢ In Stackdriver's Metrics Explorer, use a Heatmap graph to visualize the metric.
Most accepted answer: C. ג€¢ In your application, create a metric with a metricKind set to GAUGE and a valueType set to DISTRIBUTION. ג€¢ In Stackdriver's Metrics Explorer, use a Heatmap graph to visualize the metric.
Community votes: A=1, C=5
Answer C Reference : https://cloud.google.com/monitoring/api/v3/kinds-and-types?hl=en GAUGE Metric : In which value measures a specific instant in time DELTA Metric : In which the value measures the change since it was last recorded CUMULATIVE metric : In which the value constantly increases over time Question asks, "Latency of HTTP responses" - This needs to be specific instant in time , which is GAUGE, hence C upvoted 24 times
C is correct upvoted 11 times
Selected Answer: C GAUGE metrics record a value at a particular point in time and DISTRIBUTION captures distribution statistics. A Heatmap is a good way to visualize latencies across all users. https://cloud.google.com/monitoring/api/v3/kinds-and-types?hl=en#metric-kinds upvoted 1 times
Selected Answer: C option c upvoted 1 times
Selected Answer: A C is partially correct, GAUGE with DISTRIBUTUION, but "use a Heatmap graph to visualize the metric" will not help to visualiaze the Latencies of all users, will help to identify regions, but it;s not a question upvoted 1 times