chore(config): make Core Agent config authoritative for V3 routing - #2226
chore(config): make Core Agent config authoritative for V3 routing#2226rayz wants to merge 4 commits into
Conversation
There was a problem hiding this comment.
More details
Removing the ADP-only gate consistently promotes the existing Agent-compatible V3 series setting, including its default, endpoint overrides, OPW/Vector routing, validation, and zlib fallback. No diff-only behavioral regression was identified; Rust tests could not execute because the sandbox could not fetch the pinned hyper-http-proxy git dependency.
🤖 Datadog Autotest · Commit e699c7d · What is Autotest? · @DataDog review to ask questions · Any feedback? Reach out in #autotest
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e699c7dfd0
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| let series_mode = metrics_encoder_mode_for_config( | ||
| use_v3_series, | ||
| series_v3_can_be_enabled, | ||
| self.v3_api.series.validate, | ||
| metrics_v3_disabled_by_compressor, |
There was a problem hiding this comment.
Keep the Cluster Agent failover branch on V2
When autoscaling failover is enabled, add_autoscaling_failover_metrics_pipeline_to_blueprint constructs af_metrics_encode from this same configuration and sends its output through ClusterAgentForwarderConfiguration. Because use_v3_api.series.enabled defaults to true, this change makes that encoder V3-only, while the Cluster Agent mapper rewrites the series request to /series and its contract/test is based on an /api/v2/series payload. The branch therefore sends a V3 wire body where the Cluster Agent expects the V2 MetricPayload, breaking failover metric delivery unless users globally disable V3; use a branch-specific encoder configuration that forces V2 for the Cluster Agent path.
Useful? React with 👍 / 👎.
Binary Size Analysis (Agent Data Plane)Baseline: 032b9ac · Comparison: 7c71a86 · diff ✅ Binary size difference within thresholdChanges by Module
Detailed Symbol Changes |
Regression Detector (Agent Data Plane)Run ID: Optimization Goals: ❌ 2 regressions detected
Fine details of change detection per experiment (3)Experiments configured
Bounds Checks: ❌ Failed (5)
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 ( |
|
ca37cec to
7c71a86
Compare
This stack of pull requests is managed by Graphite. Learn more about stacking. |

Summary
data_plane.metrics.v3.series.enabledgate.use_v3_api.series.*, including thedatadog_onlydefault, per-endpoint overrides, and Datadog URL recognition.Change Type
How did you test this PR?
References