Error Reporting is automatically enabled for Cloud Run
applications. For most programming languages,
exceptions written to
other logs that include a stack trace in
Error Reporting-supported languages
are written to Cloud Logging and are automatically detected by
If exceptions aren't detected, then we recommend that you use the
Error Reporting client library
for your language. For more information, see
Setup by language.
For details on manually reporting error events, go to Formatting errors in Cloud Logging.
To view exception logs in Cloud Run, go to the Metrics tab of the service detail page. It includes a table showing the top errors for Cloud Run that Error Reporting has detected and aggregated.
For instructions on viewing error and exception data for your application in the Google Cloud console, go to Viewing errors.