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

Implements _dd.base_service tag #3018

Merged
merged 8 commits into from
Sep 8, 2023
Merged

Implements _dd.base_service tag #3018

merged 8 commits into from
Sep 8, 2023

Conversation

zarirhamza
Copy link
Contributor

Implements _dd.base_service tag which captures the global service name IFF the span.service is not equivalent to the global service name, implying it was overridden and a fake service was implemented.

@github-actions github-actions bot added integrations Involves tracing integrations tracing labels Aug 1, 2023
@zarirhamza zarirhamza marked this pull request as ready for review August 2, 2023 15:44
@zarirhamza zarirhamza requested review from a team and delner August 2, 2023 15:44
Copy link
Contributor

@delner delner left a comment

Choose a reason for hiding this comment

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

Please wait until I have a chance to review. Thanks!

@zarirhamza zarirhamza added the do-not-merge/WIP Not ready for merge label Aug 2, 2023
@zarirhamza
Copy link
Contributor Author

System tests were changed a bit during development so after consulting @wconti27, I applied the fix for that in this PR as well. No impact should be made to functionality

@zarirhamza zarirhamza force-pushed the zarir/base_service branch 2 times, most recently from 1b48d32 to a1c5496 Compare August 22, 2023 16:29
@codecov-commenter
Copy link

codecov-commenter commented Aug 22, 2023

Codecov Report

Merging #3018 (6f2528e) into master (1990eb7) will decrease coverage by 0.01%.
The diff coverage is 96.61%.

@@            Coverage Diff             @@
##           master    #3018      +/-   ##
==========================================
- Coverage   98.15%   98.15%   -0.01%     
==========================================
  Files        1323     1323              
  Lines       75075    75130      +55     
  Branches     3425     3471      +46     
==========================================
+ Hits        73691    73744      +53     
- Misses       1384     1386       +2     
Files Changed Coverage Δ
...ng/contrib/active_support/cache/instrumentation.rb 98.68% <50.00%> (-1.32%) ⬇️
lib/datadog/tracing/contrib/racecar/event.rb 95.12% <50.00%> (-2.32%) ⬇️
...atadog/tracing/contrib/active_record/events/sql.rb 97.72% <100.00%> (+0.10%) ⬆️
lib/datadog/tracing/contrib/aws/instrumentation.rb 98.21% <100.00%> (+0.06%) ⬆️
...b/datadog/tracing/contrib/dalli/instrumentation.rb 100.00% <100.00%> (ø)
...b/datadog/tracing/contrib/elasticsearch/patcher.rb 98.78% <100.00%> (+0.03%) ⬆️
lib/datadog/tracing/contrib/ethon/easy_patch.rb 100.00% <100.00%> (ø)
lib/datadog/tracing/contrib/ethon/multi_patch.rb 98.03% <100.00%> (+0.12%) ⬆️
lib/datadog/tracing/contrib/excon/middleware.rb 95.14% <100.00%> (+0.09%) ⬆️
lib/datadog/tracing/contrib/ext.rb 100.00% <100.00%> (ø)
... and 17 more

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

@zarirhamza zarirhamza removed the do-not-merge/WIP Not ready for merge label Aug 23, 2023
Copy link
Contributor

@delner delner left a comment

Choose a reason for hiding this comment

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

@zarirhamza and I reviewed this together. May need a refactor later to reduce repetition, create consistency, but approach seems "OK" for now.

@marcotc marcotc merged commit 6ac6439 into master Sep 8, 2023
203 of 205 checks passed
@marcotc marcotc deleted the zarir/base_service branch September 8, 2023 19:14
@github-actions github-actions bot added this to the 1.15.0 milestone Sep 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
integrations Involves tracing integrations tracing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants