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

Move Tracing diagnostic code from Core to Tracing #2453

Merged
merged 2 commits into from
Dec 2, 2022

Conversation

delner
Copy link
Contributor

@delner delner commented Dec 1, 2022

What does this PR do?

Moves some Tracing specific configuration and diagnostics out of Core and to Tracing.

Motivation

The larger goal is to reduce Core's knowledge of Tracing components, thereby reducing coupling.

This particular pull request does not fundamentally change the dependency of Core upon Tracing, but it does at least move the code itself into the appropriate folder. The resulting changes exposes the dependency a bit more explicitly, and should make it easier to invert later.

@delner delner added core Involves Datadog core libraries dev/refactor Involves refactoring existing components dev/internal Other internal work that does not need to be included in the changelog labels Dec 1, 2022
@delner delner requested review from marcotc and a team December 1, 2022 20:00
@delner delner self-assigned this Dec 1, 2022
@delner delner force-pushed the refactor/extract_tracing_diagnostics branch from f1f65c5 to f8e886d Compare December 2, 2022 17:39
@delner delner added this to In review in Active work Dec 2, 2022
@codecov-commenter
Copy link

Codecov Report

Merging #2453 (f8e886d) into master (d9da239) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #2453      +/-   ##
==========================================
- Coverage   98.31%   98.30%   -0.01%     
==========================================
  Files        1102     1104       +2     
  Lines       59010    59027      +17     
==========================================
+ Hits        58013    58028      +15     
- Misses        997      999       +2     
Impacted Files Coverage Δ
lib/datadog/core/configuration/ext.rb 100.00% <100.00%> (ø)
lib/datadog/core/configuration/settings.rb 97.52% <100.00%> (+0.01%) ⬆️
lib/datadog/core/diagnostics/health.rb 100.00% <100.00%> (ø)
lib/datadog/tracing/configuration/ext.rb 100.00% <100.00%> (ø)
lib/datadog/tracing/diagnostics/ext.rb 100.00% <100.00%> (ø)
lib/datadog/tracing/diagnostics/health.rb 100.00% <100.00%> (ø)
spec/datadog/core/configuration/settings_spec.rb 100.00% <100.00%> (ø)
spec/datadog/tracing/diagnostics/health_spec.rb 100.00% <100.00%> (ø)
spec/support/health_metric_helpers.rb 57.69% <100.00%> (ø)
spec/support/http_helpers.rb 90.90% <0.00%> (-9.10%) ⬇️
... and 3 more

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

@delner delner merged commit 91cc56a into master Dec 2, 2022
Active work automation moved this from In review to Merged & awaiting release Dec 2, 2022
@delner delner deleted the refactor/extract_tracing_diagnostics branch December 2, 2022 18:46
@github-actions github-actions bot added this to the 1.8.0 milestone Dec 2, 2022
@ivoanjo ivoanjo moved this from Merged & awaiting release to Released in Active work Dec 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Involves Datadog core libraries dev/internal Other internal work that does not need to be included in the changelog dev/refactor Involves refactoring existing components tracing
Projects
Active work
  
Released
Development

Successfully merging this pull request may close these issues.

None yet

4 participants