Hapi

Adds performance instrumentation for Hapi. (default)

For more information on setting up Sentry Hapi support, see the Hapi Sentry documentation.

Import name: Sentry.hapiIntegration

This integration is enabled by default when performance monitoring is enabled. If you'd like to modify your default integrations, read this.

The hapiIntegration adds instrumentation for the Hapi framework to capture spans using @opentelemetry/instrumentation-hapi.

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

  • Hapi: >=17.0.0 <22
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").