Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Event loop block detection is not supported for [Node.js clusters](https://nodej

## Event Loop Block Integration (Recommended)

For the best performance and comprehensive monitoring, we recommend using the [`eventLoopBlockIntegration`](./integrations/event-loop-block) from the `@sentry/node-native` package. Stack traces are automatically captured when blocking is detected. This integration can monitor all threads in your Node.js application and provides better performance compared to the deprecated ANR integration.
For the best performance and comprehensive monitoring, we recommend using the [`eventLoopBlockIntegration`](../integrations/event-loop-block) from the `@sentry/node-native` package. Stack traces are automatically captured when blocking is detected. This integration can monitor all threads in your Node.js application and provides better performance compared to the deprecated ANR integration.

```javascript
import * as Sentry from "@sentry/node";
Expand All @@ -57,13 +57,13 @@ Sentry.init({
});
```

For detailed usage instructions and configuration options, see the [`eventLoopBlockIntegration`](./integrations/event-loop-block) documentation.
For detailed usage instructions and configuration options, see the [`eventLoopBlockIntegration`](../integrations/event-loop-block) documentation.

## Deprecated Application Not Responding (ANR) Integration

<Alert type="warning">

**Deprecated**: The `anrIntegration` is deprecated. Please use the [`eventLoopBlockIntegration`](./integrations/event-loop-block) instead for better performance and more comprehensive monitoring.
**Deprecated**: The `anrIntegration` is deprecated. Please use the [`eventLoopBlockIntegration`](../integrations/event-loop-block) instead for better performance and more comprehensive monitoring.

</Alert>

Expand Down
Loading