Skip to content

Conversation

@p-datadog
Copy link
Member

What does this PR do?

Adds parameter validation to some methods in remote config.

Motivation:
When developing tests, such as in #5165, the changes in this PR helped reduce the time to understand where my data is wrong.

Change log entry
None

Additional Notes:

I originally had the contents of this PR in #5165 but, since it technically changes RC, I made it into a separate PR that can be merged after the release we are pushing for at the moment.

How to test the change?

Existing CI

@p-datadog p-datadog requested review from a team as code owners December 18, 2025 17:47
@p-datadog p-datadog requested a review from vpellan December 18, 2025 17:47
@github-actions github-actions bot added the core Involves Datadog core libraries label Dec 18, 2025
@p-datadog p-datadog changed the title RC: add diagnostics for invalid values DEBUG-3499 RC: add diagnostics for invalid values Dec 18, 2025
@pr-commenter
Copy link

pr-commenter bot commented Dec 18, 2025

Benchmarks

Benchmark execution time: 2025-12-29 20:39:05

Comparing candidate commit 1481358 in PR branch rc-diagnostics with baseline commit fe74974 in branch master.

Found 0 performance improvements and 1 performance regressions! Performance is the same for 43 metrics, 2 unstable metrics.

scenario:tracing - Propagation - Datadog

  • 🟥 throughput [-2985.663op/s; -2915.875op/s] or [-9.451%; -9.230%]

@datadog-datadog-prod-us1
Copy link
Contributor

datadog-datadog-prod-us1 bot commented Dec 18, 2025

✅ Tests

🎉 All green!

❄️ No new flaky tests detected
🧪 All tests passed

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 1481358 | Docs | Datadog PR Page | Was this helpful? Give us feedback!

Copy link
Contributor

@vpellan vpellan left a comment

Choose a reason for hiding this comment

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

LGTM

@p-datadog p-datadog merged commit b23319c into master Dec 29, 2025
635 of 637 checks passed
@p-datadog p-datadog deleted the rc-diagnostics branch December 29, 2025 21:19
@github-actions github-actions bot added this to the 2.24.0 milestone Dec 29, 2025
p-datadog pushed a commit that referenced this pull request Jan 5, 2026
* master: (129 commits)
  Transports: remove api_version (#5164)
  DEBUG-4548 Telemetry: send events in forked children + telemetry metrics reset after fork (#5159)
  Ignore "leaked" pipe file descriptors in JRuby, improve diagnostics  (#5188)
  debug-4548 Increase number of iterations for flakiness (#5184)
  [🤖] Update System Tests: https://github.com/DataDog/dd-trace-rb/actions/runs/20684824141
  [🤖] Update System Tests: https://github.com/DataDog/dd-trace-rb/actions/runs/20616292456 (#5190)
  downgrade ffi for ruby 4.0 & 2.5 (#5189)
  Fix ruby warnings when accessing undefined instance variables (#5178)
  DEBUG-3499 DI: fix accounting when intrumenting upon class definition, add instr… (#5168)
  DEBUG-3499 RC: add diagnostics for invalid values (#5167)
  DEBUG-4548 Core: fix worker shutdown race  (#5176)
  Retry system-test build (#5181)
  Fix Baggage type check (#5182)
  [🤖] Update System Tests: https://github.com/DataDog/dd-trace-rb/actions/runs/20487829791 (#5183)
  [🤖] Update Latest Dependency: https://github.com/DataDog/dd-trace-rb/actions/runs/20401889084 (#5180)
  DEBUG-3499 DI: do not instrument when there is already an installed probe with the same id (#5169)
  DEBUG-3499 DI: rework RC interface (#5165)
  set DI test duration upper bound to 1000 seconds (#5161)
  add missing supported config default value
  [🤖] Update System Tests: https://github.com/DataDog/dd-trace-rb/actions/runs/20401907816 (#5179)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Involves Datadog core libraries

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants