Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
La segnalazione di errori è abilitata automaticamente per le applicazioni Cloud Run. Per la maggior parte dei linguaggi di programmazione,
le eccezioni scritte in stderr, stdout o
altri log che includono una traccia dello stack nelle
lingue supportate da Error Reporting
vengono scritte in Cloud Logging e vengono rilevate automaticamente da
Error Reporting.
Se non vengono rilevate eccezioni, ti consigliamo di utilizzare la biblioteca client di Error Reporting per la tua lingua. Per ulteriori informazioni, consulta
Configurazione per lingua.
Per visualizzare i log delle eccezioni in Cloud Run, vai alla scheda Metriche della pagina dei dettagli del servizio. Include una tabella che mostra i principali errori per Cloud Run rilevati e aggregati da Error Reporting.
Per istruzioni su come visualizzare i dati relativi a errori ed eccezioni per la tua applicazione nella Google Cloud console, vai a
Visualizzare gli errori.
[[["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-03 UTC."],[[["\u003cp\u003eError Reporting is automatically enabled for Cloud Run applications, capturing exceptions written to \u003ccode\u003estderr\u003c/code\u003e, \u003ccode\u003estdout\u003c/code\u003e, or logs with stack traces.\u003c/p\u003e\n"],["\u003cp\u003eIf exceptions aren't automatically detected, it is recommended to use the Error Reporting client library for your programming language.\u003c/p\u003e\n"],["\u003cp\u003eYou can view a table of the top errors detected and aggregated by Error Reporting in the \u003cstrong\u003eMetrics\u003c/strong\u003e tab of the Cloud Run service detail page.\u003c/p\u003e\n"],["\u003cp\u003eDetailed instructions on how to report error events manually and view error data can be found in the provided documentation links.\u003c/p\u003e\n"]]],[],null,["Error Reporting is automatically enabled for Cloud Run\napplications. For most programming languages,\nexceptions written to `stderr`, `stdout`, or\nother logs that include a stack trace in\nError Reporting-supported languages\nare written to Cloud Logging and are automatically detected by\nError Reporting.\nIf exceptions aren't detected, then we recommend that you use the\nError Reporting client library\nfor your language. For more information, see\n[Setup by language](/error-reporting/docs/setup#setup-by-language).\n\nFor details on manually reporting error events, go to\n[Formatting errors in Cloud Logging](/error-reporting/docs/formatting-error-messages).\n\nViewing errors\n\nTo view exception logs in Cloud Run, go to the **Metrics** tab of\nthe [service detail page](/run/docs/managing/services#details). It includes a\ntable showing the top errors for Cloud Run that\nError Reporting has detected and aggregated.\n\nFor instructions on viewing error and exception data for your application in\nthe Google Cloud console, go to\n[Viewing errors](/error-reporting/docs/viewing-errors).\n\n\u003cbr /\u003e\n\n| **Note** : If you see the message \"Set up Error Reporting\" on the **Error Reporting** page, then your Google Cloud project has no error groups to display.\n\n\u003cbr /\u003e"]]