Werk #18522: gcp_run: Avoid crash when Cloud Run Jobs can be queried

Component Checks & agents
Title gcp_run: Avoid crash when Cloud Run Jobs can be queried
Date Aug 6, 2025
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.5.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.4.0p14
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

For the GCP Cloud Run monitoring the focus is on Cloud Run Services. However when querying the GCP resources, Cloud Jobs were included as well, leading to a crash:

Parsing of section gcp_service_cloud_run failed

with

KeyError(service_name)

This has been fixed by querying only Cloud Run Service revisions.

To the list of all Werks