Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DEBUG-2334 respect maxFieldCount in probe specification #4142

Merged
merged 3 commits into from
Nov 21, 2024

Conversation

p-datadog
Copy link
Contributor

What does this PR do?
Maximum capture attribute count can be specified in the probe,
This PR implements support for it in DI.

Motivation:
System tests exposed the fact that Ruby DI did not read & propagate max field count from probe specification to the serializer.

Change log entry
None

Additional Notes:

How to test the change?
Tested by DataDog/system-tests#3516 + unit tests in this PR.

Maximum capture attribute count can be specified in the probe,
implement support for it in DI.
@p-datadog p-datadog requested a review from a team as a code owner November 21, 2024 16:25
@pr-commenter
Copy link

pr-commenter bot commented Nov 21, 2024

Benchmarks

Benchmark execution time: 2024-11-21 17:14:27

Comparing candidate commit 31a11b4 in PR branch di-probe-limits with baseline commit 7a345da in branch master.

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

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.78%. Comparing base (7a345da) to head (31a11b4).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4142   +/-   ##
=======================================
  Coverage   97.77%   97.78%           
=======================================
  Files        1350     1350           
  Lines       81322    81328    +6     
  Branches     4107     4107           
=======================================
+ Hits        79515    79525   +10     
+ Misses       1807     1803    -4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

@p-datadog p-datadog merged commit 50192bb into master Nov 21, 2024
285 checks passed
@p-datadog p-datadog deleted the di-probe-limits branch November 21, 2024 21:27
@github-actions github-actions bot added this to the 2.8.0 milestone Nov 21, 2024
p-datadog pushed a commit that referenced this pull request Nov 21, 2024
* psych-fix:
  Attempt to fix psych test flakiness
  DEBUG-2334 respect maxFieldCount in probe specification (#4142)
  Revert "Run the cucumber test in unbundled environment" (#4143)
  Update guard rails and doc (Excluding 3.4 installation)
  Lower declared requirements
  Use CentOS 7 images for SSI
  DEBUG-2334 require ostruct for OpenStruct dependency (#4135)
  DEBUG-2334 Set duration to 0 for DI line probes (#4134)
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.

4 participants