Repository navigation
API Quotas for Monitoring #2576
Copy link
Copy link
Closed
Labels
api: monitoringIssues related to the Cloud Monitoring API.Issues related to the Cloud Monitoring API.authtype: questionRequest for information or clarification. Not an issue.Request for information or clarification. Not an issue.
Description
Activity
- addedapi: monitoringIssues related to the Cloud Monitoring API.Issues related to the Cloud Monitoring API.type: questionRequest for information or clarification. Not an issue.Request for information or clarification. Not an issue.
on Nov 8, 2017 This looks like it might be because of using shared credentials such as with "gcloud auth application-default login". We recommend using a downloaded service account key and setting the environment variable GOOGLE_APPLICATION_CREDENTIALS to point to it:
https://developers.google.com/identity/protocols/application-default-credentials#howtheywork
This should let you adjust the quota for your API.Please advise if this does not fixed the problem.
I'll close this due to inactivity. Please reopen if required.
- added a commit that references this issue
on Feb 20, 2026 - added a commit that references this issue
on Mar 30, 2026 - added a commit that references this issue
on May 21, 2026
Metadata
Metadata
Assignees
Labels
api: monitoringIssues related to the Cloud Monitoring API.Issues related to the Cloud Monitoring API.authtype: questionRequest for information or clarification. Not an issue.Request for information or clarification. Not an issue.
Hi, I'm using the
MetricServiceClientfor getting StackDriver timeseries. I am authenticating using a user oauth token (this user has access to multiple projects), but there seems to be a global quota across multiple projects because when I fetch only one or two projects at a time I have no throttling, but when I fetch four or five different projects at a time, I start getting throttled with errors like the following:The strange thing is, that project_number doesn't correspond to any project I am fetching, or even have access to -- it is meaningless to me.
This appears to be the quota for # of requests per 100 seconds, but I have that set to 10,000 on all projects and I'm not doing nearly that many requests, as the quota historical chart in the web console confirms.
Is there really some global quota that applies across multiple projects and if so, is there some way to work around it?