dd-trace
    Preparing search index...

    Interface prisma

    This plugin automatically instruments the @prisma/client module.

    interface prisma {
        client?: boolean | PrismaClient;
        enabled?: boolean;
        engine?: boolean | PrismaEngine;
        measured?: boolean | { [key: string]: boolean };
        service?: any;
    }
    Index

    Properties

    client?: boolean | PrismaClient

    Configuration for prisma client.

    enabled?: boolean

    Whether to enable the plugin.

    true
    
    engine?: boolean | PrismaEngine

    Configuration for Prisma engine.

    measured?: boolean | { [key: string]: boolean }

    Whether to measure the span. Can also be set to a key-value pair with span names as keys and booleans as values for more granular control.

    service?: any

    The service name to be used for this plugin.