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

enhance: Support trace context propagation and traceID visibility #407

Open
tinswzy opened this issue Jan 16, 2025 · 1 comment
Open

enhance: Support trace context propagation and traceID visibility #407

tinswzy opened this issue Jan 16, 2025 · 1 comment

Comments

@tinswzy
Copy link

tinswzy commented Jan 16, 2025

Describe the feature:
Support trace context propagation and traceID visibility

Describe a specific use case for the feature:
The client must pass the trace context with each request to ensure the trace can be propagated across all downstream services. Additionally, when a request fails or encounters an error, the client needs the ability to log or display the specific traceID associated with the failed request.

This capability allows developers and operators to:

  • Identify the exact trace path of the failed request across the system.
  • Debug and pinpoint the root cause of the error by correlating logs and metrics using the traceID.
  • Provide observability and insight into client-side request behaviors in the context of the broader system.

For example, if a client makes a request to Milvus service and receives an error response, the client can log the traceID from the trace context. This traceID can then be used to investigate the issue in distributed tracing tools, enabling quick identification of which service in the chain caused the failure.

@shanghaikid
Copy link
Contributor

can you show me how to implement this? example or docs?

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

No branches or pull requests

2 participants