Takaro - v0.6.0
    Preparing search index...

    Variable hapiIntegrationConst

    hapiIntegration: () => Integration

    Adds Sentry tracing instrumentation for Hapi.

    If you also want to capture errors, you need to call setupHapiErrorHandler(server) after you set up your server.

    For more information, see the hapi documentation.

    Type Declaration

      • (): Integration
      • Returns Integration

    const Sentry = require('@sentry/node');

    Sentry.init({
    integrations: [Sentry.hapiIntegration()],
    })