Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ioredis

This plugin automatically instruments the ioredis module.

Hierarchy

  • Instrumentation
    • ioredis

Index

Properties

Optional analytics

analytics: boolean | number | {}

Whether to enable App Analytics. Can also be set to a number instead to control the sample rate, or to an key-value pair with span names as keys and booleans or sample rates as values for more granular control.

Optional blacklist

blacklist: string | RegExp | ((command: string) => boolean) | (string | RegExp | ((command: string) => boolean))[]

List of commands that should not be instrumented. Takes precedence over whitelist if a command matches an entry in both.

default

[]

Optional enabled

enabled: boolean

Whether to enable the plugin.

default

true

Optional service

service: string

The service name to be used for this plugin.

Optional whitelist

whitelist: string | RegExp | ((command: string) => boolean) | (string | RegExp | ((command: string) => boolean))[]

List of commands that should be instrumented.

default

/^.*$/

Generated using TypeDoc