fix(rust): unblock four adaptive-sampling parametric tests#7007
Draft
bm1549 wants to merge 1 commit into
Draft
Conversation
Enables tests that now pass with the adaptive-sampling precedence fix and DD_TRACE_SAMPLE_RATE support shipped in dd-trace-rs PR #227: - TestDynamicConfigSamplingRules::test_trace_sampling_rules_override_rate - TestDynamicConfigSamplingRules::test_trace_sampling_rules_with_tags - TestDynamicConfigV1::test_trace_sampling_rate_override_env - TestDynamicConfigV1::test_trace_sampling_rate_with_sampling_rules The Rust tracer now: - Respects the documented multi-source precedence (env rules survive an RC-rate-only update; the synthetic catch-all built from tracing_sampling_rate uses default provenance, DM -3). - Parses DD_TRACE_SAMPLE_RATE as a global catch-all rate. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Contributor
|
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Enables four parametric tests for Rust now that DataDog/dd-trace-rs#227 fixes the underlying precedence and adds
DD_TRACE_SAMPLE_RATEsupport.What does this PR do?
Removes four
missing_featureentries frommanifests/rust.yml:TestDynamicConfigSamplingRules::test_trace_sampling_rules_override_rateTestDynamicConfigSamplingRules::test_trace_sampling_rules_with_tagsTestDynamicConfigV1::test_trace_sampling_rate_override_envTestDynamicConfigV1::test_trace_sampling_rate_with_sampling_rulesDo not merge before DataDog/dd-trace-rs#227
The parametric scenario runs against both the dd-trace-rs
mainbuild (rust dev) and the released crates.io version (rust prod). Both fail on these four tests until dd-trace-rs#227 lands.Sequence:
rust devgoes green.rust prodalso goes green.Test plan
mainbuild after Fix ARM node #227 merges.