dd-trace
    Preparing search index...

    Interface moleculer

    This plugin automatically instruments the moleculer module.

    interface moleculer {
        client?: boolean | Moleculer;
        enabled?: boolean;
        measured?: boolean | { [key: string]: boolean };
        meta?: boolean;
        server?: boolean | Moleculer;
        service?: any;
    }
    Index

    Properties

    client?: boolean | Moleculer

    Configuration for Moleculer clients. Set to false to disable client instrumentation.

    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.

    meta?: boolean

    Whether to include context meta as tags.

    false
    
    server?: boolean | Moleculer

    Configuration for Moleculer servers. Set to false to disable server instrumentation.

    service?: any

    The service name to be used for this plugin.