Google Cloud Run

Learn how to use Sentry to monitor errors and performance in your Google Cloud Run applications.

Google Cloud Run manages containerized applications. Sentry works with Cloud Run the same way it works with any other server environment, install the Sentry SDK for the language and framework running inside your container.

Instrument your application code directly, build it into your container image, and deploy to Cloud Run as usual.

  1. Choose the Sentry SDK for your application's language and framework. For example:

    See the full list of supported platforms.

  2. Follow the SDK setup instructions for your platform. This typically involves installing the SDK package, initializing it with your DSN, and adding it to your application's entrypoint.

  3. Build and deploy your container to Cloud Run. No additional Cloud Run configuration is needed — Sentry runs inside your application process and sends events directly to Sentry's servers.

Once deployed, trigger a test error in your application. The error should appear on the Issues page in sentry.io. If you've enabled tracing, request performance data will appear on the Performance page.

Was this helpful?
Help improve this content
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) or suggesting an update ("yeah, this would be better").