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

Fix #1544: Handle hook dummy span hack when assigning parent #1557

Merged
merged 1 commit into from
Apr 4, 2022

Conversation

bwoebi
Copy link
Collaborator

@bwoebi bwoebi commented Apr 4, 2022

Description

Fixes #1544. The dummy span hack of hooks strikes again.

To expand on that: in our current implementation of hook_function we install a dummy span. This dummy span must never be exposed to userland. This fixes this span being exposed via the parent property.

Once we merge our new hooks implementation no such span will exist anymore and this hack of skipping that span can be removed.

Readiness checklist

  • (only for Members) Changelog has been added to the release document.
  • Tests added for this feature/bug.
    • Intentionally skipped it this time, it's a hack and obsolete once the new hooks land.

Reviewer checklist

  • Appropriate labels assigned.
  • Milestone is set.
  • Changelog has been added to the release document. For community contributors the reviewer is in charge of this task.

Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com>
Copy link
Contributor

@krakjoe krakjoe left a comment

Choose a reason for hiding this comment

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

Thanks bob

@bwoebi bwoebi merged commit b78d612 into master Apr 4, 2022
@bwoebi bwoebi deleted the fix-1544 branch April 4, 2022 16:20
@labbati labbati added this to the 0.72.0 milestone Apr 5, 2022
@labbati labbati mentioned this pull request Apr 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants