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

Clarify use of trace-id in response header #407

Closed
dyladan opened this issue Mar 27, 2020 · 3 comments
Closed

Clarify use of trace-id in response header #407

dyladan opened this issue Mar 27, 2020 · 3 comments
Assignees

Comments

@dyladan
Copy link
Member

dyladan commented Mar 27, 2020

After feedback from @adriancole it became clear that the use-case for trace-id is not well defined in the spec. Update the wording to make it clear that the caller is not meant to adopt the trace id.

@yurishkuro
Copy link
Member

The use case for returning trace ID is when cloud provider returns an internal trace reference. What is the proposed alternative for that use cae?

@dyladan
Copy link
Member Author

dyladan commented Mar 27, 2020

There is no proposed alternative. The issue is that the use case you stated wasn't clear to everyone. This issue is just to remind me to take a look through the spec and make sure it's clear that this is the intended use case.

@yurishkuro
Copy link
Member

My understanding is that the use case is:

  • Client sends a request to a managed service in the cloud. Client may or may not include traceparent.
  • Cloud provider internally starts another trace, and returns its ID in the response header.
  • Client records the response trace ID in its own span/trace, or logs it, so that it can be given to cloud customer support for troubleshooting.

When I say "trace ID", it may also include the span ID, if the cloud provider wants to have more precise reference (perhaps in some messaging / serverless scenarios the reference is not always to the root), but that's a speculation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants