Takaro - v0.6.0
    Preparing search index...

    Variable postgresIntegrationConst

    postgresIntegration: (options?: PostgresIntegrationOptions) => Integration

    Adds Sentry tracing instrumentation for the pg library.

    For more information, see the postgresIntegration documentation.

    Type Declaration

      • (options?: PostgresIntegrationOptions): Integration
      • Parameters

        • Optionaloptions: PostgresIntegrationOptions

        Returns Integration

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

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