Werk #15352: gcp_cost: several changes

Component Checks & agents
Title gcp_cost: several changes
Date Jan 16, 2025
Level Trivial Change
Class New Feature
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.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

Predictive levels

Choosing predictive levels for gcp_cost resulted in a crash of the check. This option was removed. If you have a rule using "Predictive levels" for gcp_cost it will be updated to be "No Levels".

Discovery

Previous to this change it was possible that not all projects were available for monitoring.

Query

The old query did not include credits based costs.

Metrics

Each check now creates a metric of the current costs.

Check output

Previously the check showed the accumulated costs for the current month, and the total costs of the previous month. Each query costs money based on how many rows are accessed, so showing the costs of the whole previous month is costing money, so we decided to remove this output. As we added the metric, it is now possible to visually compare the current month's costs with the previous month's cost.

To the list of all Werks