dd-trace
    Preparing search index...

    Interface mariadb

    This plugin automatically instruments the mariadb module.

    interface mariadb {
        enabled?: boolean;
        measured?: boolean | { [key: string]: boolean };
        service?: string | ((params: any) => string);
    }

    Hierarchy (View Summary)

    Index

    Properties

    enabled?: boolean

    Whether to enable the plugin.

    true
    
    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?: string | ((params: any) => string)

    The service name to be used for this plugin.