Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Error Reporting
aggrega e mostra gli errori prodotti nei servizi Cloud Run in esecuzione. Cloud Run è automaticamente integrato con
Error Reporting senza necessità di configurazione.
I seguenti errori sono visibili automaticamente:
Tutte le eccezioni che includono un'analisi dello stack nelle lingue supportate da Error Reporting e che vengono inviate a stdout, stderr o ad altri log.
Errori del servizio "Limite di memoria superato" e "Nessuna istanza disponibile" .
Devi gestire gli errori e le eccezioni che si verificano durante le richieste. Se consenti
a questi errori di arrestare anomalo il processo dell'applicazione, si verifica un
avvio a freddo in cui viene avviata una nuova istanza
container.
Visualizzazione degli errori in Cloud Run
La scheda "Metriche" della pagina dei dettagli del servizio
include una tabella che mostra gli errori principali per questo servizio
che Error Reporting ha rilevato e aggregato.
Visualizzare gli errori in Error Reporting
Puoi visualizzare gli errori dopo che Error Reporting li ha aggregati. Per i dettagli, consulta Visualizzazione degli errori.
Per esaminare gli errori attuali, vai alla pagina Error Reporting nella
consoleGoogle Cloud :
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-09-04 UTC."],[],[],null,["# Error Reporting\naggregates and displays errors produced in your running Cloud Run\nservices. Cloud Run is automatically integrated with\nError Reporting **with no setup or configuration required**.\n\nThe following errors are automatically visible:\n\n1. All exceptions that include a stack trace in [Error Reporting-supported\n languages](/error-reporting/docs/setup), and that are sent to `stdout`, `stderr`, or to other logs.\n2. \"Memory limit exceeded\" and \"No instances available\" [service errors](https://cloud.google.com/error-reporting/docs/service-errors).\n\nYou should handle errors and exceptions that occur during requests. Allowing\nsuch errors to crash your application process results in a\n[cold start](/run/docs/tips#starting_services_quickly) where a new container\ninstance is started up.\n\n### Viewing errors in Cloud Run\n\nThe \"Metrics\" tab of the [service detail page](/run/docs/managing/services#details)\nincludes a table showing the top errors for this service that\nError Reporting has detected and aggregated.\n\n### Viewing errors in Error Reporting\n\nYou can view errors after Error Reporting has aggregated them. For\ndetails, see [Viewing Errors](/error-reporting/docs/viewing-errors).\n\nTo review your current errors, go to the Error Reporting page in the\nGoogle Cloud console:\n\n[Go to Error Reporting](https://console.cloud.google.com/errors)\n\nFor more details\n----------------\n\nFor information, see the [Error Reporting documentation](/error-reporting/docs)."]]