Skip to content

Migrate APM traces to typed configuration. #2193

Description

@webern

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`.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions