# Anr | Sentry for Google Cloud Functions

This integration only works in the Node.js runtime.

*Import name: `Sentry.anrIntegration`*

The `anrIntegration` captures Application Not Responding (ANR)/Event Loop Stall errors and reports them as Sentry events. For more details, see the documentation on [ANR](https://docs.sentry.io/platforms/javascript/guides/gcp-functions/configuration/application-not-responding.md).

```JavaScript
Sentry.init({
  integrations: [Sentry.anrIntegration({ captureStackTrace: true })],
});
```
