Google Cloud Billing Details - Current Month Test

The goal of any Google cloud account holder would be to minimize his/her cloud spend. The first step to achieving that is for them to review their cloud spend on a monthly basis. This is where the Google Cloud Billing Details - Current Month test helps. Administrators can use this test to determine the total cloud spend of the monitored cloud account during the current month. By running this test every month and comparing its results with that of the previous months, administrators can understand if the cloud spend is increasing steadily, and if so, proceed to investigate the reasons for the rise. To help with this investigation, the detailed diagnostics also point you to the precise products, regions, instances, and services with the highest pre-tax cost.

Note:

This test will report metrics only if the Cloud Billing API is enabled in the target Google Cloud project. If you want to know how to turn on a service API in the Google Cloud project, refer Enabling Service APIs.

Target of the test : A Google Cloud Account

Agent deploying the test : A remote agent

Outputs of the test : One set of results for the Google cloud account that is being monitored

Configurable parameters for the test
Parameters Description

Test Period

How often should the test be executed.

Host

The host for which the test is to be configured.

Private Keyfile Name

To connect to the Google Cloud Project in which the services are running, the eG agent requires a private key of a service account with Compute Viewer, Monitoring Viewer, and Cloud Asset Viewer roles in the target project. If a service account pre-exists in the project, then you can download the private key as a JSON file. Save this JSON file in the <eG_Install_Dir>/agent/lib folder and provide the name of that file against this parameter. However, if no such service account pre-exists, you will have to create one for monitoring the project. To know how to create a service account and download its private key, refer to How does eG Enterprise Monitor Google Cloud?.

Detailed Diagnosis

To make diagnosis more efficient and accurate, the eG Enterprise embeds an optional detailed diagnostic capability. With this capability, the eG agents can be configured to run detailed, more elaborate tests as and when specific problems are detected. To enable the detailed diagnosis capability of this test for a particular server, choose the On option. To disable the capability, click on the Off option.

The option to selectively enable/disable the detailed diagnosis capability will be available only if the following conditions are fulfilled:

  • The eG manager license should allow the detailed diagnosis capability
  • Both the normal and abnormal frequencies configured for the detailed diagnosis measures should not be 0.
Measurements made by the test
Measurement Description Measurement Unit Interpretation

Total billing cost

Indicates the total cloud spend of the target cloud account for the current month.

USD

You can track changes to this measure over time to understand whether/not the cloud spend for the target cloud account is increasing every month.

Total used services

Indicates the total number of services the target cloud account subscribes to.

Number

 

Total used locations

Indicates the total number of locations in the monitored cloud account.

Number

 

Total used countries

Indicates the total number of countries in the monitored cloud account.

Number

 

Total used regions

Indicates the total number of regions in the monitored cloud account.

Number

 

Total used zones

Indicates the total number of zoned in the monitored cloud account.

Number