How to check current BigQuery usage
See original GitHub issueWhilst making https://github.com/ofek/pypinfo/pull/29 I got this:
raise exceptions.from_http_response(response)
google.api_core.exceptions.Forbidden: 403 GET https://www.googleapis.com/bigquery/v2/projects/pypinfo-hugovk/queries/<snip>?maxResults=0&timeoutMs=10000: Quota exceeded: Your project exceeded quota for free query bytes scanned. For more information, see https://cloud.google.com/bigquery/troubleshooting-errors
I can’t find how much of my free monthly TB I’ve used up on the Google console.
After some digging in the console I found this:
https://console.cloud.google.com/home/activity?project=pypinfo-hugovk&authuser=1
Linking to this:
https://console.cloud.google.com/iam-admin/quotas?project=pypinfo-hugovk&authuser=1
Which isn’t very informative – all zeroes and dashes!
I get the error after doing several pypinfo --percent --pip pypinfo pyversion
, but pypinfo --percent --pip -d 1 pypinfo
is still fine.
Any idea what “QUERY-MBYTES-FOR-UNBILLED-PROJECTS-per-project” really means?
And where to check the monthly 1TB quota?
Thanks!
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Introduction to BigQuery monitoring - Google Cloud
Use Cloud Monitoring to view BigQuery metrics and create charts and alerts. Each metric has a resource type, either bigquery_dataset , bigquery_project ,...
Read more >Where do you get Google Bigquery usage info (mainly for ...
From the Google Cloud Console overview page for your project, click on the "details" section on the top-right, next to the charge estimate...
Read more >Monitoring your BigQuery costs and reports usage with Data ...
In this article I will talk you through the complete process of setting up BigQuery cost monitoring dashboard. I used standard Google Ads ......
Read more >Using BigQuery and Cloud Logging to Analyze BigQuery Usage
In this lab you view the BigQuery logs inside Cloud Logging, set up a sink to export them back into BigQuery, and then...
Read more >BigQuery - DataHub
Field Type Default
incremental_lineage boolean True
sql_parser_use_external_process boolean False
env string PROD
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I added these stats just now in
9.0.0
🙂Though, I still can’t find a way to see one’s remaining free quota.
Visit a page something like this, replace
TODO_YOUR_PROJECT_HERE
with your Pypinfo project name you chose in step 3 of the README:https://console.cloud.google.com/home/activity?c=Configuration,Data_Access,Development,Monitoring,Platform,Recommendation&project=TODO_YOUR_PROJECT_HERE&authuser=1
On the filter on the right, make sure your project is selected in the dropdown, and enable all categories:
You should then see a bunch of logs like this:
The “Completed job” entries are the most interesting, showing the query pypinfo sent (you can see it locally with
pypinfo --test
), total billed bytes and total processed bytes:From here, you can see that re-running a query that has been previously cached doesn’t cost any extra bytes.