-
Notifications
You must be signed in to change notification settings - Fork 651
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
Propagation: TextMap propagator getter must provide a keys method #1084
Comments
@codeboten I'll take this up. Could you assign this to me? |
Done, thanks! |
Hey @codeboten , could use some help understanding this => I went through the spec and the existing codebase and my understanding is that currently when the extract method is called, a get function is passed to it as a param. If we have to modify Getter to have both get() and keys() as functions, we will have to make Getter a class. Doing this change would mean we would have to change how the get method is currently being passed and invoked in extractors in other files like B3format where we are just passing a method and not an object of a class Is my understanding right? Would I have to change the files where getter is being used as well? |
@nprajilesh yes that is my understanding of how this feature should be implemented. |
@codeboten Could you check if the implementation in this PR #1196 is ok? If so, I will make it ready for review. |
As per specification, the Getter argument must provide a
Keys
methodhttps://github.com/open-telemetry/opentelemetry-specification/blob/master/specification/context/api-propagators.md#keys
The text was updated successfully, but these errors were encountered: