Is there any way to break down my Google Cloud Functions spending into each individual function?

39 views
Skip to first unread message

Josue Andres Julcarima Calle

unread,
May 6, 2021, 10:10:18 AM5/6/21
to Google Cloud Developers
I want to know how much is each one of my cloud functions spending (break up the total costs on Google Cloud Functions that is shown in my Billing Console). I know I may be able to estimate it probably looking at the metrics and configuration of each function but it would be a hassle to do it one by one (I have a lot of functions).

I couldn't find any way of doing it using the Billing Console alone, it only shows the total cost.

If there was a tool/script it would also be appreciated.

Btw: why I want this?
My startup is a heavy user of Firebase and bigquery tools. We are two teams working on different things and we all work with the same database of users and tables in bigquery so we had to use the same GCP project to deploy our cloud functions. Now we need to separate the cloud spending of each team.

I alreade posted to stackoverflow and producthunt

David Charles Martinez

unread,
May 7, 2021, 12:21:26 PM5/7/21
to Google Cloud Developers

Hello,

There’s no official billing tool that would allow you to do this. I see you received a good response on stackoverflow on how to workaround the lack of such a tool by creating labels and exporting the data. You can always create an Issue Tracker as a feature request about this.

Reply all
Reply to author
Forward
0 new messages