-
Notifications
You must be signed in to change notification settings - Fork 838
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
api.propagation.fields should be public #1741
Comments
it should return all fields from all propagators in case of using CompositePropagator |
That is already the behavior of the composite propagator fields method. The api would just call the current propagator fields, which happens to be the composite. |
Hi @dyladan , |
Yes please do I would appreciate that. |
…metry#1741) * tests: tune the fake clock for testing * tests: tune the values to expect * chore: lint autofix * chore: improve os.cpus mock * chore: revert implementation for process CPU usage * chore: rename var * chore: avoid having useless data upon 1st collection * chore: remove comments * chore: change system.cpu attribute names to match semantic conventions * chore: update test * chore: lint fix
This is a bug. You should be able to api.propagation.fields() according to the spec.
originally posted in open-telemetry/opentelemetry-js-contrib#275 (comment)
api.propagation.fields() should return the propagator(s) fields
Make method _getGlobalPropagator from api.propagation public, rename it to getGlobalPropagator
The text was updated successfully, but these errors were encountered: