Skip to content

fix: don't capture parent tracing span in http requests#30

Merged
poroh merged 1 commit intoNVIDIA:mainfrom
poroh:fix-tracing-span-capture
Jan 30, 2026
Merged

fix: don't capture parent tracing span in http requests#30
poroh merged 1 commit intoNVIDIA:mainfrom
poroh:fix-tracing-span-capture

Conversation

@poroh
Copy link

@poroh poroh commented Jan 30, 2026

This fixes issue of capturing parent tracing span by long-living HTTP threads in hyper.

Here are details:

hyper-util's TokioExecutor spawns background tasks using .in_current_span() when the tracing feature is enabled.
tracing feature is not enabled by libredfish directly or through reqwest but may be enabled by feature unification that comes with another dependencies.

Signed-off-by: Dmitry Porokh <dporokh@nvidia.com>
@poroh poroh requested review from Matthias247 and kensimon January 30, 2026 17:42
Copy link

@Matthias247 Matthias247 left a comment

Choose a reason for hiding this comment

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

Thanks! Might need to do something similar with other HTTP interactions, e.g. the NMX-M client.

@poroh poroh merged commit 6a2f014 into NVIDIA:main Jan 30, 2026
2 checks passed
krish-nvidia added a commit to NVIDIA/bare-metal-manager-core that referenced this pull request Jan 30, 2026
## Description
This PR brings in the following changes from libredfish `v0.39.1`:

- fix: don't capture parent tracing span in http requests by @poroh in
NVIDIA/libredfish#30
- feat: further support for newer iDRAC BIOS/UEFI password configuration
by @krish-nvidia in NVIDIA/libredfish#31

## Type of Change
<!-- Check one that best describes this PR -->
- [ ] **Add** - New feature or capability
- [ ] **Change** - Changes in existing functionality  
- [x] **Fix** - Bug fixes
- [ ] **Remove** - Removed features or deprecated functionality
- [ ] **Internal** - Internal changes (refactoring, tests, docs, etc.)

## Related Issues (Optional)
<!-- If applicable, provide GitHub Issue. -->

## Breaking Changes
- [ ] This PR contains breaking changes

<!-- If checked above, describe the breaking changes and migration steps
-->

## Testing
<!-- How was this tested? Check all that apply -->
- [ ] Unit tests added/updated
- [ ] Integration tests added/updated  
- [ ] Manual testing performed
- [x] No testing required (docs, internal refactor, etc.)

## Additional Notes
<!-- Any additional context, deployment notes, or reviewer guidance -->

Signed-off-by: Krish Dandiwala <kdandiwala@nvidia.com>
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