This plugin automatically instruments the memcached module.

interface memcached {
    enabled?: boolean;
    measured?: boolean | {
        [key: string]: boolean;
    };
    service?: any;
}

Hierarchy

  • Instrumentation
    • memcached

Properties

enabled?: boolean

Whether to enable the plugin.

Default

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.

Type declaration

  • [key: string]: boolean
service?: any

The service name to be used for this plugin.