chore: add supported configurations by dmehala · Pull Request #284 · DataDog/dd-trace-cpp

and others added 2 commits

February 26, 2026 16:15
The configuration macro is changed to a registry that includes types
and default values next to the configuration names.

This is used for compile time generation instead of using runtime
checks for the configurations (environment variables).

For safety, failing to parse configurations is now going to log a
warning instead. This aligns with other platforms / tracers to not
crash a customer in production where their staging configuration
might be valid and their production one not.

The macro must now be used for any new configuration added and a CI
job verifies that all entries do exist. If a new env is added
otherwise it should fail.

The CI will also verify that the generated file is up to date and
matches the remote registry. It would fail, if either is not the
case.

The behavior change is documented in the README.md.

@dmehala

BridgeAR

@BridgeAR BridgeAR deleted the dmehala/add-supported-configurations branch

March 2, 2026 12:07