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

[Enhancement]: Support passing trace ctx and displaying traceID in case of request err in all the sdk interfaces level #2521

Open
1 task done
binbinlv opened this issue Dec 27, 2024 · 0 comments
Labels
kind/enhancement New feature or request

Comments

@binbinlv
Copy link

binbinlv commented Dec 27, 2024

Is there an existing issue for this?

  • I have searched the existing issues

What would you like to be added?

Support user defined trace id with otel specifications though all the sdk interfaces, like

ctxWithTraceInfo, span := otel.tracer("name").start(ctx, spanName)
client.search(ctxWithTraceInfo, req)
traceID = span.TraceContext.traceID....

Why is this needed?

Could construct a map between sdk interfaces with milvus internal functions, then this mapping info could be used for a lot of things, like precise testing.

Anything else?

No response

@binbinlv binbinlv added the kind/enhancement New feature or request label Dec 27, 2024
@binbinlv binbinlv changed the title [Enhancement]: Support user defined trace id though all the sdk interfaces [Enhancement]: Support passing trace ctx and displaying traceID in case of request err Dec 27, 2024
@binbinlv binbinlv changed the title [Enhancement]: Support passing trace ctx and displaying traceID in case of request err [Enhancement]: Support passing trace ctx and displaying traceID in case of request err in all the sdk interfaces level Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant