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

Ensure that any span emitted in error_policy is a child span of the root span for the respective reconciliation run. #600

Merged
merged 2 commits into from
Jul 31, 2021

Conversation

LukeMathWalker
Copy link
Contributor

This make it easier to troubleshoot and allows users to delegate most of the logging to error_policy rather than having to do it twice to get the error info attached to the root span.

… root span for the respective reconciliation run.
Copy link
Member

@clux clux left a comment

Choose a reason for hiding this comment

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

Looks like a smart use of in_scope.

@nightkr nightkr merged commit fcc3c21 into kube-rs:master Jul 31, 2021
@clux clux mentioned this pull request Dec 5, 2021
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.

3 participants