Stackdriver Error Reporting
aggregates and displays errors produced in your running Cloud Run
services. Cloud Run is automatically integrated with
Stackdriver Error Reporting with no setup or configuration required. All
exceptions that include a stack trace in Stackdriver Error Reporting-supported
languages, and that are sent to
stderr, or to other logs,
are automatically visible.
You should handle errors and exceptions that occur during requests. Allowing such errors to crash your application process results in a cold start where a new container instance is started up.
Viewing logs in Cloud Run
The "Metrics" tab of the service detail page includes a table showing the top errors for this service that Stackdriver Error Reporting has detected and aggregated.
Viewing logs in Stackdriver Error Reporting
You can view errors after Stackdriver Error Reporting has aggregated them. For details, see Viewing Errors.
To review your current errors, go to the Stackdriver Error Reporting page in the Cloud Console:
For more details
For information, see the Stackdriver Error Reporting documentation.