OptionalallowlistList of commands that should be instrumented.
OptionalblocklistList of commands that should not be instrumented. Takes precedence over allowlist if a command matches an entry in both.
OptionalenabledWhether to enable the plugin.
OptionalfilterCustom filter function used to decide whether a Redis command should be instrumented. When provided, this takes precedence over allowlist/blocklist configuration. If not provided, allowlist/blocklist logic will be used instead.
The Redis command name to filter
true to instrument the command, false to skip it
OptionalmeasuredWhether 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.
OptionalserviceThe service name to be used for this plugin.
This plugin automatically instruments the redis module.