chore(config): migrate datadog trace encoder to typed configuration - #2187
chore(config): migrate datadog trace encoder to typed configuration#2187webern wants to merge 1 commit into
Conversation
Construct the Datadog trace encoder from typed configuration slices instead of reading GenericConfiguration. - Move the Agent zstd compressor level (serializer_zstd_compressor_level) into shared.endpoints.compression, and add the ADP-specific override (data_plane.serializer_zstd_compressor_level) as a Saluki-only key that seeds shared.endpoints.compression.data_plane_zstd_compressor_level. Absence stays meaningful, so the override is Option-typed with no value-layer default; the effective-level resolution is unchanged. - Add a shared MetricsEncoding carrying the Saluki-only flush_timeout_secs key (default 2s), shared by the metrics encoders and the trace encoder. - Remove the encoder's raw deserialization, Datadog key names, and config-layer defaults; drop its config smoke-test registration while keeping used_by for legacy codegen. - Update the run.rs construction call site and config registries.
Binary Size Analysis (Agent Data Plane)Baseline: 0f99ce3 · Comparison: 9f282e2 · diff ✅ Binary size difference within thresholdChanges by Module
Detailed Symbol Changes |
Regression Detector (Agent Data Plane)Run ID: Optimization Goals: ✅ No significant changes detectedFine details of change detection per experiment (3)Experiments configured
Bounds Checks: ✅ Passed (3)
ExplanationA change is flagged as a regression when |Δ mean %| > 5.00% in the regressing direction for its optimization goal AND SMP marks the experiment as a regression ( |
This stack of pull requests is managed by Graphite. Learn more about stacking. |

Human Summary
TODO: human writes here
AI Summary
Migrate the Datadog trace encoder to typed configuration.
GenericConfiguration.Change Type
How did you test this PR?
make build-schema-overlaymake fmtcargo check --workspace --testscargo clippy -p saluki-components -p agent-data-plane-config-system -p agent-data-plane -p agent-data-plane-config --all-targetscargo nextest run -p saluki-components -p agent-data-plane-config-system -p agent-data-plane-configReferences