ZNL Technologies

Google Cloud · ZNL development lab

Monitoring a Cloud Run service

When a service goes quiet, an operator needs to distinguish a quiet minute from a failed request. We sent authenticated test traffic to a private service and compared three signals.

Interactive simulation · 10 seconds

Cloud Run observability dashboard

Press Play to send simulated traffic to an idle service. Each second represents one monitoring minute. The traffic alert opens when requests arrive and clears when traffic stops.

0 / 10 s

Request volume

0 req/min
0 min510 min

P95 request latency

— ms
0 min510 min

Traffic alert

Idle
  1. 00 min · Waiting for traffic
View the original Google Cloud dashboard capture
Cloud Monitoring charts showing a latency sample near 9.5 milliseconds and traffic rising from two to four requests per minute.
Latency and request volume during the lab. Select the image for a larger view.

The test requests returned HTTP 200. In the observed window, the 95th-percentile latency sample was about 9.5 milliseconds and traffic reached four requests per minute. These measurements describe this short test only.

The separate HTTP error chart had no samples in that window. A traffic alert was configured to detect any requests within a one-minute interval. Incident creation and notification delivery were unverified.

Operator runbook

  1. Confirm traffic. Send one authenticated request to the intended service. Record the time and HTTP status, then check the request-count chart for that interval.
  2. Investigate failures. If a request fails, filter request logs by service, revision, time and status. Compare latency and error counts with the preceding interval.
  3. Verify recovery. Repeat the same request and confirm the expected response. Check the dashboard after metrics arrive and record the affected revision and recovery time.

Discuss monitoring for your cloud workload