[NO-TICKET] Convert as much direct env var access to config DSL as possible#5559
[NO-TICKET] Convert as much direct env var access to config DSL as possible#5559
Conversation
Typing analysisIgnored filesThis PR clears 5 ignored files. It increases the percentage of typed files from 45.87% to 46.37% (+0.5%). Ignored files (+0-5)✅ Cleared:Note: Ignored files are excluded from the next sections.
|
BenchmarksBenchmark execution time: 2026-04-03 15:52:41 Comparing candidate commit ae7651a in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 45 metrics, 1 unstable metrics.
|
|
✨ Fix all issues with BitsAI or with Cursor
|
What does this PR do?
This PR converts as much configurations that are accessed directly through environment variable to our config DSL as possible. Some cannot be converted (env vars accessed before initializing the config DSL, or when booting a single piece of the tracer such as DI or AppSec)
Motivation:
By doing this, customers will not only be able to configure them through
Datadog.configureblocks, but also through Stable Config. These configs will also be correctly reported through telemetry thanks to the work done for config visibility.Change log entry
Yes. Enable the configuration of
DD_GIT_REPOSITORY_URL,DD_GIT_COMMIT_SHA,DD_TRACE_AGENT_URL,DD_TRACE_AGENT_TIMEOUT_SECONDS,DD_METRIC_AGENT_PORTandDD_DYNAMIC_INSTRUMENTATION_PROBE_FILEthroughDatadog.configureblocks and in the Datadog UIAdditional Notes:
I'll open a PR on datadog-ci-rb so that
DD_GIT_REPOSITORY_URL,DD_GIT_COMMIT_SHAare supported.How to test the change?