-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Plumb contexts through commands #4700
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
Conversation
2883fcb to
6e1f7ff
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #4700 +/- ##
==========================================
- Coverage 59.68% 59.66% -0.02%
==========================================
Files 287 287
Lines 24865 24760 -105
==========================================
- Hits 14841 14774 -67
+ Misses 9138 9100 -38
Partials 886 886 |
cli/command/container/stats.go
Outdated
| span := trace.SpanFromContext(ctx) | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DOH! Looks like some OTEL changes landed in the wrong commit; let me fix that;
13 7.030 ERROR: Vendor result differs. Please vendor your package with "make -f docker.Makefile vendor"
6e1f7ff to
ae83009
Compare
84ecac1 to
4074b49
Compare
4074b49 to
f4869c2
Compare
This is to prepare for otel support. Signed-off-by: Brian Goff <[email protected]> Signed-off-by: Sebastiaan van Stijn <[email protected]>
f4869c2 to
5400a48
Compare
sam-thibault
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
laurazard
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
| // baseCtx is the base context used for internal operations. In the future | ||
| // this may be replaced by explicitly passing a context to functions that | ||
| // need it. | ||
| baseCtx context.Context |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should keep an eye on this and see if we can factor it out later 👀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cc @cpuguy83
This is to prepare for otel support.
- What I did
- How I did it
- How to verify it
- Description for the changelog
- A picture of a cute animal (not mandatory but encouraged)