-
Notifications
You must be signed in to change notification settings - Fork 589
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
otelmux: Treat incoming trace ID as links rather than parents #3661
Conversation
|
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #3661 +/- ##
======================================
Coverage 70.3% 70.4%
======================================
Files 147 149 +2
Lines 6959 7123 +164
======================================
+ Hits 4899 5017 +118
- Misses 1939 1974 +35
- Partials 121 132 +11
|
Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
Hi, just wondering, what are the next steps. There is anything on my side that needs to be done? |
First, it looks like one of your commits is having CLA issues. Can you fix that? |
|
@open-telemetry/go-maintainers This PR has already 3 approvals so it is probably good to merge. |
Reviews were re-requested for @Aneurysm9 and @dmathieu and they have not provided them. |
Sorry for the clueless question: How I dismissing a pull request review? Has been some time since I used Github. |
NP, I don't know if you can based on the project settings and the default permissions. I can dismiss them if you like? |
Yes please. |
There is anything I can do about codeconv/patch? |
If you would like to submit a follow up PR to help improve the projects overall coverage we would be happy to have it. But, for this PR, the coverage is good enough. |
Would be great to have this for the gRPC instrumentation too. |
When a trace is sent with a trace context creates a problem where the traces is trying to making our traces a child of a parent that is not sent to the collectors. The
otelmux
package that we use doesn't provide a solution to this problem butotelhttp
does. Usingotelhttp
as a guide marking endpoints as public is a good way to avoid orphan spans. This will treat incoming trace ID as links rather than parents.