Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Kuota dan batas
Halaman ini memberikan detail tentang batas yang berlaku untuk penggunaan
Cloud Profiler.
Kuota dan batas Profiler API
Kuota Profiler API membatasi jumlah permintaan
API yang dapat didukung backend Profiler untuk project
Google Cloud tertentu. Kuota mencakup batasan pada hal berikut:
Permintaan update dikeluarkan setiap kali deployment mengumpulkan
jenis profil.
Deployment yang mengumpulkan dua jenis profil mengeluarkan permintaan update dua kali lebih banyak dibandingkan deployment yang mengumpulkan satu jenis profil.
Jumlah permintaan update per hari.
Jumlah permintaan daftar profil per hari.
Permintaan list-profiles dapat dikeluarkan untuk mengambil profil untuk deployment yang ada.
Jika Anda melebihi kuota, backend Profiler akan menolak permintaan
API. Misalnya, asumsikan bahwa kuota untuk jumlah deployment baru
per hari adalah 75. Jika 80 deployment baru dibuat dalam satu hari, tidak ada data pembuatan profil
yang dikumpulkan untuk 5 deployment.
Sebagai contoh kedua, asumsikan bahwa Anda memiliki 10 deployment untuk layanan yang mengumpulkan pembuatan profil waktu Heap dan Wall. Dalam hal ini, kuota untuk jumlah
permintaan pembaruan per menit harus minimal 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)
Jika kuota ini kurang dari 20, beberapa profil tidak berhasil
ditransmisikan ke backend Profiler.
Mengelola kuota
Anda dapat melihat, mengurangi, dan meningkatkan kuota Profiler API. Untuk mengetahui informasi selengkapnya tentang kuota, lihat Menangani kuota:
Untuk melihat kuota Profiler API dan penggunaan saat ini, dari
konsolGoogle Cloud , buka Kuota:
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-08-18 UTC."],[],[],null,["# Quotas and limits\n=================\n\nThis page provides details on the limits that apply to using\nCloud Profiler.\n\nProfiler API quotas and limits\n------------------------------\n\nThe Profiler API quotas place limits on the number of API\nrequests that the Profiler backend can support for a specific\nGoogle Cloud project. The quotas include limits on the following:\n\n- Number of new [profiler-agent deployments](/profiler/docs/concepts-profiling#collection) per day.\n- Number of update requests per minute.\n\n An update request is issued each time a deployment collects a\n [profile type](/profiler/docs/about-profiler#types_of_profiling_available).\n Deployments that collect two profile types issue twice as many update\n requests as deployments that collect one profile type.\n- Number of update requests per day.\n\n- Number of list-profiles requests per day.\n\n A list-profiles request can be issued to retrieve the profiles for your\n existing deployments.\n\nIf you exceed a quota, the Profiler backend rejects the API\nrequest. For example, assume that the quota for the number of new deployments\nper day is 75. If 80 new deployments are created in one day, then no profiling\ndata is collected for 5 of the deployments.\n\nAs a second example, assume that you have 10 deployments for a service that\ncollects Heap and Wall time profiling. In this case, the quota for the number\nof update requests per minute must be at least 20: \n\n```sh\n10 deployments x 2 profile types per deployment x 1 update request per profile type per minute\n = 20 update requests per minute (on average)\n```\n\nIf this quota is less than 20, then some profiles aren't transmitted\nsuccessfully to the Profiler backend.\n| **Note:** Before creating a deployment, ensure that this action doesn't result in you exceeding any of the Profiler API quotas.\n\nManaging your quota\n-------------------\n\nYou can view, decrease, and increase your Profiler\nAPI quota. For more information about quotas, see the [Cloud Quotas documentation](/docs/quotas/overview):\n\n- To view your **Profiler API** quota and current usage, from the\n Google Cloud console, go to **Quotas**:\n\n [Go to Quotas](https://console.cloud.google.com/iam-admin/quotas)\n\n To limit your view to the Profiler API usage, set the\n **Service** menu to select only the **Profiler API**.\n- To decrease your Profiler API quota, see\n [Create a quota override](/docs/quotas/view-manage#create_override).\n\n- To request an increase in your Profiler API quota, see\n [Request a quota adjustment](/docs/quotas/help/request_increase).\n\nData retention periods\n----------------------\n\nData collected by Cloud Profiler is retained for\n30 days."]]