The Profiler API quotas place limits on the number of API requests that the Profiler backend can support for a specific GCP project. The quotas include limits on all of the following:
- Number of new deployments per day
- Number of update requests per minute
- Number of update requests per day
If you exceed a quota, the Profiler backend rejects the API request. For example, if the quota for the number of new deployments per day is 75 and if 80 new deployments are created in one day, then you won't collect profiling data for 5 of your deployments. For information about deployments, see Profile collection.
As a second example, if you have 10 deployments for a service that collects Heap and Wall time profiling, then the quota for the number of update requests per minute must be at least 20:
10 deployments x 2 profile types per deployment x 1 update request per profile type per minute = 20 update requests per minute (on average)
If this quota is less than 20, some profiles won't be transmitted successfully to the Profiler backend.
Managing your quota
You can view, decrease, and increase your Profiler API quota. For more information about quotas, see Working with quotas:
To view your Profiler API quota and current usage, from the Google Cloud Platform Console, go to Quotas:
To limit your view to the Profiler API usage, set the Service menu to select only the Profiler API.
To decrease your Profiler API quota, see Capping usage.
To request an increase in your Profiler API quota, see Requesting higher quota.
Data retention periods
Data collected by Stackdriver Profiler is retained for 30 days.