Takaro - v0.6.0
    Preparing search index...

    Variable postgresJsIntegrationConst

    postgresJsIntegration: (
        options?: PostgresJsInstrumentationConfig,
    ) => Integration

    Adds Sentry tracing instrumentation for the postgres library.

    For more information, see the postgresIntegration documentation.

    Type Declaration

      • (options?: PostgresJsInstrumentationConfig): Integration
      • Parameters

        • Optionaloptions: PostgresJsInstrumentationConfig

        Returns Integration

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

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