Free on-demand webinars: Learn how to set up, configure, and get more out of Checkmk – Pick your webinar

Werk #22822: GCP: don't crash on cancelled requests

Component Checks & agents
Title GCP: don't crash on cancelled requests
Date Nov 2, 2026
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
3.0.0b1
Not yet released
Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT
2.5.0p20 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT
2.4.0p41 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT

When Google Cloud cancelled the request for a single metric (gRPC error 499 CANCELLED, for example after a server-side timeout), the GCP special agent crashed with RuntimeError: 499 CANCELLED: <metric name>. No GCP data was delivered for that run and a crash report was created.

The agent now treats a cancelled request like a rate limit or an internal Google Cloud error: it reports the affected metric as an error and continues with all other metrics.

To the list of all Werks