Skip to content

feat: dd-trace 5.0 to 6.0 - rename profiling experimental env vars #8

@mohab-sameh

Description

@mohab-sameh

Summary

Rename removed profiling env var aliases by dropping _EXPERIMENTAL_.

Detection Criteria

Detect these env vars in source and supported config formats:

  • DD_PROFILING_EXPERIMENTAL_CODEHOTSPOTS_ENABLED
  • DD_PROFILING_EXPERIMENTAL_CPU_ENABLED
  • DD_PROFILING_EXPERIMENTAL_ENDPOINT_COLLECTION_ENABLED
  • DD_PROFILING_EXPERIMENTAL_TIMELINE_ENABLED

Transformation Logic

Rename each to the canonical name without _EXPERIMENTAL_.

Before / After Example

process.env.DD_PROFILING_EXPERIMENTAL_CPU_ENABLED = "true";
process.env.DD_PROFILING_CPU_ENABLED = "true";

Notes / Edge Cases

Implemented for JS/TS source contexts. The package workflow also has a gated
AI config step for exact active occurrences in .env, YAML, Dockerfile, shell,
CI, and deployment files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions