Skip to content

ddtrace/tracer: removed target_span + trying to sample at the end#2464

Merged
dianashevchenko merged 8 commits into
shevchenko/tag-resource-samplingfrom
shevchenko/resample-inject-finish
Dec 27, 2023
Merged

ddtrace/tracer: removed target_span + trying to sample at the end#2464
dianashevchenko merged 8 commits into
shevchenko/tag-resource-samplingfrom
shevchenko/resample-inject-finish

Conversation

@dianashevchenko

Copy link
Copy Markdown
Contributor

What does this PR do?

Motivation

Reviewer's Checklist

  • Changed code has unit tests for its functionality at or near 100% coverage.
  • System-Tests covering this feature have been added and enabled with the va.b.c-dev version tag.
  • There is a benchmark for any new code, or changes to existing code.
  • If this interacts with the agent in a new way, a system test has been added.
  • Add an appropriate team label so this PR gets put in the right place for the release notes.

For Datadog employees:

  • If this PR touches code that handles credentials of any kind, such as Datadog API keys, I've requested a review from @DataDog/security-design-and-guidance.
  • This PR doesn't touch any of that.

Unsure? Have a question? Request a review!

@pr-commenter

pr-commenter Bot commented Dec 21, 2023

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2023-12-27 15:40:28

Comparing candidate commit b8e9744 in PR branch shevchenko/resample-inject-finish with baseline commit bb2601d in branch shevchenko/tag-resource-sampling.

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

Comment on lines +159 to +161
if c == nil {
return ""
}

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This was found to cause panic in some tests, when span.String method is called

@dianashevchenko
dianashevchenko marked this pull request as ready for review December 27, 2023 13:41
@dianashevchenko
dianashevchenko requested a review from a team December 27, 2023 13:41
@dianashevchenko
dianashevchenko merged commit 5d50d35 into shevchenko/tag-resource-sampling Dec 27, 2023
@dianashevchenko
dianashevchenko deleted the shevchenko/resample-inject-finish branch December 27, 2023 22:15
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.

2 participants