GCP Cost History is not matching with GCP console and FlexReport
search cancel

GCP Cost History is not matching with GCP console and FlexReport

book

Article ID: 284187

calendar_today

Updated On:

Products

CloudHealth

Issue/Introduction

This could be due to credits cost line items.

In GCP FlexReports, the platform uses 'cost' column only for BigQuery related cost data and populates 'total_cost' in case of usage related data.  In FlexReports, there might be 2 cost lines that line up with one another: one for cost and one for credits.  The credit nullifies the cost line item. 

Resolution

In Cost History, reports the platform selects the service without credits and so only cost associated to it appears without credits.  Navigating to the GCP console and filtering out credits should result in the costs lining up as expected.