Dasbor Performa Proxy membantu Anda melihat pola traffic proxy API dan waktu pemrosesan.
Gunakan untuk memvisualisasikan berapa banyak traffic yang dihasilkan API Anda dan berapa lama waktu yang dibutuhkan untuk memproses panggilan API, mulai dari saat diterima oleh Apigee hingga dikembalikan ke aplikasi klien.
Dasbor Performa Proxy API
Untuk mengakses dasbor Performa Proxy:
Di konsol Google Cloud , buka halaman Analytics > API metrics > API Proxy Performance.
Pilih Lingkungan atau Nama host dan satu atau Semua proxy dalam daftar Proxy. Memilih Semua akan menampilkan diagram untuk semua proxy, termasuk data gabungan untuk proxy.
Memilih satu proxy akan menampilkan diagram dengan data hanya untuk proxy tersebut.
Jika diinginkan, ubah rentang waktu default. Misalnya, Anda dapat melihat data untuk hari terakhir
atau 14 hari terakhir.
Tampilan Performa Proxy API ditampilkan. Metrik gabungan untuk setiap diagram, seperti
rata-rata transaksi per detik (Rata-rata TPS) ditampilkan di sebelah kanan diagram
Jumlah rata-rata permintaan API dan respons yang dihasilkan per detik.
Traffic
Metrik
Deskripsi
Total Traffic
Jumlah total permintaan API yang diterima oleh Apigee untuk lingkungan API dalam organisasi.
Keberhasilan Traffic
Jumlah total permintaan yang menghasilkan respons yang berhasil. Respons error tidak dihitung.
Error Traffic
Jumlah total semua permintaan API yang tidak berhasil, yaitu permintaan tidak memberikan respons seperti yang diinginkan pengguna akhir. Jumlah ini mencakup error Proxy dan Target.
Rata-rata Total Waktu Respons yang diukur untuk semua panggilan API yang dilakukan ke lingkungan organisasi Apigee. Total Waktu Respons adalah jumlah waktu yang diperlukan
panggilan API ke Apigee untuk ditampilkan (dalam milidetik).
Atau, dengan kata lain, total waktu respons adalah waktu yang diukur dari saat seluruh panggilan API diterima di Apigee hingga saat Apigee mulai mengirimkan respons kembali ke aplikasi klien.
Diagram ini mengukur rata-rata untuk semua proxy. Untuk setiap proxy, lihat
diagram Waktu Respons Rata-Rata menurut Proxy di bawah.
Waktu Respons Proxy Rata-Rata
Nilai ini dihitung sebagai rata-rata Total Waktu Respons dikurangi Target Waktu Respons untuk semua panggilan API yang dilakukan ke lingkungan organisasi Apigee.
Pada dasarnya, ini adalah ukuran berapa banyak waktu yang dihabiskan panggilan API saat mengalir melalui Apigee itu sendiri (dalam milidetik).
Waktu Respons Target Rata-Rata
Jumlah rata-rata milidetik yang diperlukan dari saat byte terakhir permintaan dikirim dari Apigee ke target backend hingga saat Apigee menerima byte terakhir respons.
Pada dasarnya, metrik ini mengukur berapa banyak waktu yang dihabiskan panggilan API pada sistem
target.
Waktu respons proxy rata-rata dihitung sebagai selisih antara rata-rata waktu respons total dan waktu respons target. Harapannya adalah total waktu respons selalu lebih besar daripada target waktu respons. Namun, ada juga panggilan yang ditangani oleh proxy itu sendiri - permintaan pra-penerbangan, respons yang di-cache, token Oauth, dll. yang tidak mencapai sistem backend. Panggilan "lebih cepat" oleh proxy ini mengurangi waktu Respons Total rata-rata tanpa mengurangi waktu respons Target. Oleh karena itu, total waktu respons rata-rata mungkin tidak selalu lebih besar daripada waktu respons target rata-rata yang dapat menyebabkan nilai negatif terlihat untuk waktu respons proxy. Jika Anda melihat TPS yang lebih besar tanpa memperbesar skala waktu terlalu banyak, pengecualian ini tidak akan terlalu berpengaruh sehingga memberikan data yang lebih akurat dan dapat ditindaklanjuti.
Anda akan mendapatkan data respons rata-rata yang paling bermakna jika mengumpulkan sejumlah besar permintaan selama jangka waktu yang lama, bukan hanya dari beberapa permintaan yang dikumpulkan selama jangka waktu yang singkat. Jika Anda hanya mengamati sejumlah kecil permintaan yang masuk dalam jangka waktu singkat, ada kemungkinan bahwa satu panggilan yang tidak menuju target akan menghasilkan waktu respons proxy rata-rata yang negatif. Saat mengevaluasi waktu respons rata-rata, sebaiknya lihat jangka waktu yang lebih panjang yang memiliki traffic tinggi.
Traffic menurut Proxy
Metrik
Deskripsi
<Nama wakil>
Untuk proxy API yang ditentukan, jumlah permintaan dan respons API yang direkam.
Waktu Respons Rata-Rata menurut Proxy
Metrik
Deskripsi
<Nama wakil>
Untuk proxy API yang ditentukan, rata-rata Total Waktu Respons yang diukur untuk semua
panggilan API yang dilakukan ke lingkungan Apigee. Total Waktu Respons adalah jumlah waktu yang diperlukan panggilan API ke Apigee untuk ditampilkan (dalam milidetik).
Arahkan kursor ke grafik untuk melihat total waktu yang dihabiskan di sisi proxy dan
sisi target, serta rata-ratanya.
[[["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-09-03 UTC."],[[["\u003cp\u003eThe Proxy Performance dashboard in Apigee and Apigee hybrid allows users to visualize API traffic patterns and the time it takes for API calls to be processed, from receipt to response.\u003c/p\u003e\n"],["\u003cp\u003eThe dashboard includes charts for Average Transactions Per Second (TPS), Total Traffic, Traffic Success/Errors, Average Response Time, Traffic by Proxy, and Average Response Time by Proxy.\u003c/p\u003e\n"],["\u003cp\u003eThe dashboard's metrics, such as Average Response Time, consider the total time it takes for an API call to return, including the time spent within Apigee and at the target system.\u003c/p\u003e\n"],["\u003cp\u003eData displayed on the dashboard may have a delay of up to 10 minutes after API calls are made.\u003c/p\u003e\n"],["\u003cp\u003eThe most relevant average response times are gathered by observing a higher number of requests over a larger period of time.\u003c/p\u003e\n"]]],[],null,["# API Proxy Performance\n\n*This page\napplies to **Apigee** and **Apigee hybrid**.*\n\n\n*View [Apigee Edge](https://docs.apigee.com/api-platform/get-started/what-apigee-edge) documentation.*\n\nWhat does this dashboard tell me?\n---------------------------------\n\nThe Proxy Performance dashboard helps you see API proxy traffic patterns and processing times.\nUse is to visualize how much traffic your APIs generate and how long it takes for API calls\nto be processed, from the time they are received by Apigee until they are returned to the\nclient app.\n\n\n| **Note:** **Data delay interval** \n| After API calls are made to proxies, it may take up to **10 minutes** for the data to appear in dashboards, custom reports, and management API calls.\n\n\u003cbr /\u003e\n\nThe API Proxy Performance dashboard\n-----------------------------------\n\nTo access the Proxy Performance dashboard:\n\n1. In the Google Cloud console, go to the **Analytics \\\u003e API metrics \\\u003e API Proxy Performance** page.\n\n [Go to API Proxy Performance](https://console.cloud.google.com/apigee/analytics/proxy-performance)\n2. Select an **Environment or Hostname** and one or **All** proxies in the **Proxy** list. Selecting **All** shows charts for all proxies including aggregated data for proxies. Selecting a single proxy shows charts with data for that proxy only.\n3. If desired, change the default time range. For example, you can view data for the last day or the last 14 days.\n\nThe **API Proxy Performance** view is shown. Aggregate metrics for each chart, such as the\naverage transactions per second (**Average TPS**) are shown to the right of the chart\n\nWhat does this dashboard measure?\n---------------------------------\n\nThis dashboard includes these charts:\n\n- [Average transactions per second (TPS)](#averagetraffic)\n- [Traffic](#traffic)\n- [Average Response Time](#averageresponsetime)\n- [Traffic by Proxy](#trafficbyproxy)\n- [Average Response Time by Proxy](#averagebyproxy)\n\n| **Note:** This `client.received.start.timestamp` time value is used to calculate traffic metrics for API proxies in the analytics dashboards. For more information, see the [client](/apigee/docs/api-platform/reference/variables-reference#client) flow variable reference.\n\n### Average transactions per second (TPS)\n\n### Traffic\n\n### Average Response Time\n\nSee also this interesting article on the Apigee Community site:\n[When can the Average Total Response Time be less than the Average Target Response Time?](https://community.apigee.com/articles/2695/when-can-the-average-total-response-time-be-less-t.html)\n\nAverage proxy response time is calculated as the difference between the averages of total response time and target response time. The expectation is that total response time is always greater than the target response time. However, there are also calls which are handled by the proxy itself - preflight requests, cached responses, Oauth tokens etc which do not reach the backend system. These \"faster\" calls by the proxy reduce the average Total Response time without reducing the Target response time. Hence the average total response time may not always be greater than the average target response time which could result in negative values being seen for proxy response time. When you look at larger TPS without zooming in the time scale too much, these exceptions will not hold much weight and hence give you more accurate and actionable data.\n\nYou obtain the most meaningful average response data when a large number of requests are collected over a long period of time, rather than from just a few requests collected over a short period of time. If you only observe a small number of requests that come in over a short time period, there's a chance that even one call that does not go to the target will result in a negative average proxy response time. When evaluating average response times, it's best to view longer time frames that have high traffic.\n\n### Traffic by Proxy\n\n### Average Response Time by Proxy"]]