Skip to content

test(cpp): enable otel tracestate sampling [cpp@milan.garnier/otel-tracestate-ot-th] - #7522

Open
MilanGarnier wants to merge 3 commits into
milan.garnier/otel-tracestate-ot-thfrom
milan.garnier/enable-cpp-otel-tracestate-sampling
Open

test(cpp): enable otel tracestate sampling [cpp@milan.garnier/otel-tracestate-ot-th]#7522
MilanGarnier wants to merge 3 commits into
milan.garnier/otel-tracestate-ot-thfrom
milan.garnier/enable-cpp-otel-tracestate-sampling

Conversation

@MilanGarnier

Copy link
Copy Markdown
Contributor

Enables C++ OpenTelemetry tracestate sampling coverage. Stacked on #7518.

@MilanGarnier
MilanGarnier requested a review from a team as a code owner August 14, 2026 13:17
@MilanGarnier
MilanGarnier requested review from xlamorlette-datadog and removed request for a team August 14, 2026 13:17
@github-actions

Copy link
Copy Markdown
Contributor

CODEOWNERS have been resolved as:

manifests/cpp.yml                                                       @DataDog/dd-trace-cpp

Comment thread manifests/cpp.yml Outdated
tests/parametric/test_otel_span_with_baggage.py::Test_Otel_Span_With_Baggage: missing_feature
tests/parametric/test_otel_tracer.py::Test_Otel_Tracer::test_otel_force_flush: irrelevant (library does not implement OpenTelemetry)
tests/parametric/test_otel_tracer.py::Test_Otel_Tracer::test_otel_simple_trace: irrelevant (library does not implement OpenTelemetry)
tests/parametric/test_otel_tracestate_sampling.py::Test_OtelTracestateSampling: ">2.1.2"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should rather be >=2.2.0 since dd-trace-cpp v2.2.0 was delivered 2 days ago.
See #7517.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh thanks I hadn't seen that yet !

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0378ec0860

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread manifests/cpp.yml Outdated
Comment on lines +238 to +239
tests/parametric/test_otel_tracestate_sampling.py::Test_OtelTracestateSampling: ">2.1.2"
tests/parametric/test_otel_tracestate_sampling.py::Test_OtlpTracestateSampling: ">2.1.2"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Use the actual release floor for these activations

When running a future C++ 2.1.x patch release, these entries match any version greater than 2.1.2, so the new tracestate sampling tests would run before the feature's 2.2.0 boundary and fail in that maintenance line; the rest of this manifest already corrected the same >2.1.2 pattern to >=2.2.0, so these activations should use the real floor (for example v2.2.0/>=2.2.0) rather than a previous-version cutoff. .cursor/rules/pr-review.mdcL20-L22

Useful? React with 👍 / 👎.

@datadog-prod-us1-3

datadog-prod-us1-3 Bot commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Pipelines  Tests

⚠️ Warnings

🚦 2 Pipeline jobs failed

Testing the test | Fail if target branch is specified   View in Datadog   GitHub Actions

See error Job failed: This PR can't be merged due to the title specifying a target branch.

Testing the test | all-jobs-are-green   View in Datadog   GitHub Actions

See error Job did not run: blocked by a failed job in an earlier pipeline stage.

ℹ️ Info

No other issues found (see more)

🧪 All tests passed
❄️ No new flaky tests detected

Useful? React with 👍 / 👎

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 7038c67 | Docs | Datadog PR Page | Give us feedback!

@MilanGarnier
MilanGarnier force-pushed the milan.garnier/enable-cpp-otel-tracestate-sampling branch from 8f5e665 to 7038c67 Compare August 14, 2026 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants