Dd-trace-js: DD_INTEGRATIONS_DISABLED not working

Created on 14 Feb 2020  路  1Comment  路  Source: DataDog/dd-trace-js

Describe the bug

Disabling plugins using DD_INTEGRATIONS_DISABLED env var is not working.
setting integrationsDisabled on init() also does not work.

Environment

  • Operation system: Linux
  • Node version: 12
  • Tracer version: 0.17.1
  • Agent version: 7.16
community question

Most helpful comment

The correct environment variable for this is DD_TRACE_DISABLED_PLUGINS. You can find the complete list of options in the API docs.

It's also possible to disable a plugin programmatically using tracer.use('plugin-name', false).

Please let me know if that works!

>All comments

The correct environment variable for this is DD_TRACE_DISABLED_PLUGINS. You can find the complete list of options in the API docs.

It's also possible to disable a plugin programmatically using tracer.use('plugin-name', false).

Please let me know if that works!

Was this page helpful?
0 / 5 - 0 ratings