-
Notifications
You must be signed in to change notification settings - Fork 651
refactor: move example from otelmux to make it a testable example #7121
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
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Noé Tarbouriech <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #7121 +/- ##
=======================================
+ Coverage 75.8% 76.0% +0.1%
=======================================
Files 207 206 -1
Lines 19484 19445 -39
=======================================
+ Hits 14780 14783 +3
+ Misses 4267 4226 -41
+ Partials 437 436 -1 🚀 New features to boost your workflow:
|
@@ -11,11 +11,18 @@ require ( | |||
go.opentelemetry.io/otel/trace v1.35.0 | |||
) | |||
|
|||
require ( | |||
github.com/google/uuid v1.6.0 // indirect | |||
go.opentelemetry.io/otel/sdk v1.35.0 // indirect |
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.
@noetarbouriech this go.mod does not seem up to date, can you run go mod tidy
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.
Oops, sorry my bad. It should be fine now.
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.
Could you fix the conflicts?
go.opentelemetry.io/otel/trace v1.35.0 | ||
) | ||
|
||
require ( |
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.
Did Go generate this change, or did you manually update the file?
It's a bit weird to have a new section for indirect dependencies, and a direct one within indirects.
You should generate go.mod
with go mod tidy
, not need to update it manually.
Resolves #7064
I simply moved the old example to have it shown on the pkg.go.dev page. It will require testing for metrics in the future.