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

Migrate to Net::HTTP adapter from Core module of ddtrace gem #49

Merged
merged 5 commits into from
Oct 17, 2023

Conversation

anmarchenko
Copy link
Member

@anmarchenko anmarchenko commented Oct 9, 2023

Closes #38
Closes #47

What does this PR do?
Updates ddtrace version to 1.15 and reuses existing Net::HTTP adapter from the core library instead of our own.

Motivation
Reduce code duplication and reuse existing modules from Datadog::Core

How to test the change?
Unit tests

@codecov-commenter
Copy link

codecov-commenter commented Oct 10, 2023

Codecov Report

Merging #49 (0bb2377) into main (406ccf1) will decrease coverage by 0.10%.
The diff coverage is 97.43%.

@@            Coverage Diff             @@
##             main      #49      +/-   ##
==========================================
- Coverage   99.19%   99.09%   -0.10%     
==========================================
  Files          95       95              
  Lines        3459     3299     -160     
  Branches      130      129       -1     
==========================================
- Hits         3431     3269     -162     
- Misses         28       30       +2     
Files Coverage Δ
lib/datadog/ci/transport/gzip.rb 100.00% <100.00%> (ø)
spec/datadog/ci/transport/http_spec.rb 100.00% <100.00%> (ø)
lib/datadog/ci/transport/http.rb 90.00% <94.44%> (-7.34%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@anmarchenko anmarchenko changed the title migrate to Core transport WIP Migrate to implementation of Net::HTTP adapter from Core module of ddtracerb Oct 16, 2023
@anmarchenko anmarchenko marked this pull request as ready for review October 16, 2023 12:27
@anmarchenko anmarchenko changed the title Migrate to implementation of Net::HTTP adapter from Core module of ddtracerb Migrate to implementation of Net::HTTP adapter from Core module of ddtrace gem Oct 16, 2023
@anmarchenko anmarchenko changed the title Migrate to implementation of Net::HTTP adapter from Core module of ddtrace gem Migrate to Net::HTTP adapter from Core module of ddtrace gem Oct 16, 2023
@anmarchenko anmarchenko merged commit 9b83a30 into main Oct 17, 2023
26 checks passed
@anmarchenko anmarchenko deleted the anmarchenko/agentless_part2 branch October 17, 2023 10:07
@github-actions github-actions bot added this to the 0.3.0 milestone Oct 17, 2023
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.

Update RBS to 3.2 Migrate to Datadog::Core adapter for Net::HTTP
3 participants