O painel "Desempenho do proxy" ajuda a ver padrões de tráfego do proxy de API e tempos de processamento.
Use para visualizar quanto tráfego suas APIs geram e quanto tempo leva para que as chamadas de API
sejam processadas, desde o momento em que são recebidas pela Apigee até o retorno ao
aplicativo cliente.
Painel de desempenho do proxy de API
Para acessar o painel de desempenho do proxy:
No console do Google Cloud , acesse a página Analytics > Métricas de API > Desempenho do proxy de API.
Selecione um Ambiente ou nome do host e um ou Todos os proxies na lista Proxy. Selecionar Todas mostra gráficos de todos os proxies, incluindo dados agregados.
Selecionar um único proxy mostra gráficos com dados apenas para ele.
Se quiser, mude o período padrão. Por exemplo, é possível conferir dados do último dia ou dos últimos 14 dias.
A visualização Desempenho do proxy de API é mostrada. As métricas agregadas de cada gráfico, como a média de transações por segundo (TPS médio), são mostradas à direita do gráfico.
O número médio de solicitações de API e as respostas resultantes por segundo.
Tráfego
Métrica
Descrição
Tráfego total
O número total de solicitações de API recebidas pela Apigee para um ambiente de API em uma
organização.
Sucesso do tráfego
O número total de solicitações que resultaram em uma resposta bem-sucedida. As respostas de erro não
são contabilizadas.
Erros de tráfego
O número total de todas as solicitações da API que não são bem-sucedidas, ou seja, a solicitação
não fornece uma resposta conforme esperado pelo usuário final. A contagem inclui erros de proxy e de
destino.
A média do tempo total de resposta medido para todas as chamadas de API feitas para um ambiente de
organização da Apigee. O tempo total de resposta é o tempo necessário para
uma chamada de API ser retornada à Apigee (em milissegundos).
Ou, de outra forma, o tempo total de resposta é o tempo medido desde o momento em que uma chamada
de API inteira é recebida na Apigee até o momento em que a Apigee começa a enviar uma resposta de volta para o
aplicativo cliente.
Esse gráfico mede a média de todos os proxies. Para proxies individuais, consulte o
gráfico "Tempo médio de resposta por proxy" abaixo.
Tempo médio de resposta por proxy
Esse valor é calculado como a média do Tempo de resposta total menos o tempo de resposta
de destino para todas as chamadas de API feitas para um ambiente de organização da
Apigee.
É basicamente uma medida do tempo que as chamadas de API passam fluindo pela Apigee
(em milissegundos).
Tempo médio de resposta do destino
O número médio de milissegundos que leva do ponto em que o último byte de uma
solicitação é enviado da Apigee para um destino de back-end até o momento em que a Apigee recebe o último
byte da resposta.
Ela basicamente mede quanto tempo a chamada de API gasta no sistema de
destino.
O tempo médio de resposta do proxy é calculado como a diferença entre as médias do tempo de resposta total e do tempo de resposta pretendido. A expectativa é que o tempo de resposta total seja sempre maior que o tempo de resposta desejado. No entanto, há também chamadas que são processadas pelo próprio proxy: solicitações simuladas, respostas em cache, tokens OAuth etc. que não chegam ao sistema de back-end. Essas chamadas "mais rápidas" feitas pelo proxy reduzem o Tempo médio total de resposta sem reduzir o tempo de resposta de destino. Portanto, o tempo de resposta total médio nem sempre é maior do que o tempo de resposta desejado, o que pode resultar em valores negativos para o tempo de resposta de proxy. Quando você analisa TPS maiores sem aumentar muito o zoom na escala de tempo, essas exceções não têm muito peso e, portanto, fornecem dados mais precisos e acionáveis.
Os dados de resposta média mais significativos são obtidos quando um grande número de solicitações é coletado por um longo período, em vez de apenas algumas solicitações coletadas em um curto período. Se você observar apenas um pequeno número de solicitações que chegam em um curto período, ainda há uma chance de que mesmo uma chamada que não vá para o alvo resulte em um tempo médio de resposta do proxy negativo. Ao avaliar os tempos médios de resposta, é melhor visualizar períodos mais longos com tráfego alto.
Tráfego por proxy
Métrica
Descrição
<Nome do proxy>
Para o proxy de API especificado, o número de solicitações e respostas de API registradas.
Tempo médio de resposta por proxy
Métrica
Descrição
<Nome do proxy>
Para o proxy de API especificado, a média do tempo total de resposta medido para todas as
chamadas de API feitas para um ambiente da Apigee. O tempo total de resposta é o tempo que
uma chamada de API leva para a Apigee retornar (em milissegundos).
Passe o cursor sobre o gráfico para ver a quantidade total de tempo gasto no lado do proxy e do
lado do destino, bem como a média.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-08-21 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,["*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\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\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\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\nAverage transactions per second (TPS)\n\n| Metric | Description |\n|-----------------|------------------------------------------------------------------------|\n| **Average TPS** | The average number of API requests and resulting responses per second. |\n\nTraffic\n\n| Metric | Description |\n|---------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| **Total Traffic** | The total number of API requests received by Apigee for an API environment in an organization. |\n| **Traffic Success** | The total number of requests that resulted in a successful response. Error responses do not count. |\n| **Traffic Errors** | The total number of all API requests that are unsuccessful, that is, the request does not deliver a response as desired by the end user. The count includes both Proxy and Target errors. |\n\nAverage 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\n| Metric | Description |\n|----------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| **Average Response Time** | The average of the Total Response Time measured for all API calls made to an Apigee organization environment. The Total Response Time is the amount of time it takes for an API call to Apigee to return (in milliseconds). Or, put another way, total response time is the time measured from when an entire API call is received on Apigee to the time Apigee begins sending a response back to the client app. This chart measures the average for all proxies. For individual proxies, see the Average Response Time by Proxy chart below. |\n| **Average Proxy Response Time** | This value is calculated as the average of the Total Response Time minus the Target Response Time for all API calls made to an Apigee organization environment. It's basically a measure of how much time the API calls spend flowing through Apigee itself (in milliseconds). |\n| **Average Target Response Time** | The average number of milliseconds that it takes from the point the last byte of a request is sent from Apigee to a backend target to the time Apigee receives the last byte of the response. It's basically measuring how much time the API call spends on the target system. |\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\nTraffic by Proxy\n\n| Metric | Description |\n|----------------------|---------------------------------------------------------------------------------|\n| **\\\u003c*Proxy name*\\\u003e** | For the specified API proxy, the number of recorded API requests and responses. |\n\nAverage Response Time by Proxy\n\n| Metric | Description |\n|----------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| **\\\u003c*Proxy name*\\\u003e** | For the specified API proxy, the average of the Total Response Time measured for all API calls made to an Apigee environment. The Total Response Time is the amount of time it takes for an API call to Apigee to return (in milliseconds). Hover over the graph to see the total amount of time spent on the proxy side and the target side, as well as the average. |"]]