QuestionQ95

Ensuring solution and operations excellence

An application is deployed on Anthos clusters (previously Anthos GKE). Under your company’s SRE practices, you must receive an alert when request latency exceeds a specified threshold for a defined period. What should you do?

  • A Install Anthos Service Mesh on your cluster. Use the Google Cloud Console to define a Service Level Objective (SLO), and create an alerting policy based on this SLO.
  • B Enable the Cloud Trace API on your project, and use Cloud Monitoring Alerts to send an alert based on the Cloud Trace metrics.
  • C Use Cloud Profiler to follow up the request latency. Create a custom metric in Cloud Monitoring based on the results of Cloud Profiler, and create an Alerting policy in case this metric exceeds the threshold.
  • D Configure Anthos Config Management on your cluster, and create a yaml file that defines the SLO and alerting policy you want to deploy in your cluster.
Explanation

Cloud Service Mesh (formerly Anthos Service Mesh) supports latency service-level objectives based on service telemetry. A latency SLO defines the latency threshold and compliance period, and Cloud Monitoring can create an alerting policy from that SLO so alerts reflect the service’s SRE objective.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!