🔥 3-day streak
Professional Cloud DevOps Engineer117 / 165
Question 117 of 165

A payments microservice on GKE writes structured JSON logs to Cloud Logging. The SRE team wants a Cloud Monitoring dashboard widget that shows the rate of failed transactions over time, where a failure is any log entry with jsonPayload.status equal to "DECLINED" or "TIMEOUT". They do not need to capture any numeric value from the log, only the frequency of these events. Which approach most efficiently produces the metric needed for this widget?

Reviewed for accuracy · Report an issueNext question