ioredis: SetConfig not supported #624
Labels
bug
Something isn't working
good first issue
up-for-grabs
Good for taking. Extra help will be provided by maintainers
What version of OpenTelemetry are you using?
v0.24.0
What version of Node are you using?
12
What did you do?
tried to call
setConfig
function from theInstrumentationAbstract
api on an instance of the ioredis instrumentation to update the config.What did you expect to see?
instrumentation to use the new config on future operations
What did you see instead?
previous config is in use
Additional context
ioredis instrumentation is using the
_config
object during patching as closure param instead of reading the current attribute fromthis
everytime it should be used. Thus instrumentation will not be affected whensetConfig
is called.The text was updated successfully, but these errors were encountered: