allowPluginEnvConfig() function

Adds DD_TRACE_<ID>_ENABLED to the tracer's configuration allow-list.

The plugin manager reads that variable while enabling any plugin, and dd-trace throws a "Missing env/configuration in supported-configurations.json" error for every name it does not know — which would take the whole process down through an uncaught exception, since the lookup happens inside a diagnostics channel subscriber.

Signature:

export declare function allowPluginEnvConfig(id: string): void;

Parameters

Parameter

Type

Description

id

string

plugin id, as declared by its static id

Returns:

void

Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.