Migrate the components used by traces/APM to typed configuration.
Details
Migrate the Traces/APM configuration consumers from untyped maps to the validated typed model while preserving existing behavior, making configuration ownership explicit, removing duplicate parsing and accessors, and adding coverage for defaults and environment overlays. OTLP configuration consumers are tracked separately and are not included in this implementation sequence.
| Order |
Component |
| 1 |
DatadogTraceConfiguration |
| 2 |
ApmConfig |
| 3 |
TracesConfig |
| 4 |
TraceObfuscationConfiguration |
| 5 |
OttlFilterConfiguration and OttlFilterConfig |
| 6 |
OttlTransformConfiguration and OttlTransformConfig |
| 7 |
ApmStatsTransformConfiguration |
| 8 |
DatadogApmStatsEncoderConfiguration |
Sample Agent Instructions
### If these are not in your context yet, you must read them now (in this order):
- `AGENTS.md`
- `docs/development/style-guide.md`
- `docs/development/testing-patterns.md`
- `.claude/skills/config-system/SKILL.md`
Migrate `DatadogTraceConfiguration` so that it is constructed with typed config instead of `GenericConfiguration`.
Migrate the components used by traces/APM to typed configuration.
Details
Migrate the Traces/APM configuration consumers from untyped maps to the validated typed model while preserving existing behavior, making configuration ownership explicit, removing duplicate parsing and accessors, and adding coverage for defaults and environment overlays. OTLP configuration consumers are tracked separately and are not included in this implementation sequence.
Sample Agent Instructions