// user-set env var), unlike user settings which yield to env via `setIfMissing`.
const setPolicy = (key: string, value: string | undefined): void => {
out[key] = value;
}
};
if (settings.enabled) {
setIfMissing(AgentHostOTelEnvVars.Enabled, 'true');