-
Notifications
You must be signed in to change notification settings - Fork 21
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
feat(http-client/injecting): adding 'withTrace' macro for Http Client #6
feat(http-client/injecting): adding 'withTrace' macro for Http Client #6
Conversation
… injection of current span context id
Probably WIP, 'cause I dislike impl of toTraceContextID function in Span class in flags. Probably it should be inherited from Measure. But it must be implemented in other feature gates, such as |
Ping me when this one is ready for review. |
@freekmurze probably, it is |
config/open-telemetry.php
Outdated
@@ -94,4 +94,16 @@ | |||
* This class generates ids for both traces and spans. | |||
*/ | |||
'id_generator' => Spatie\OpenTelemetry\Support\IdGenerator::class, | |||
|
|||
/* | |||
* Injectors configure, how span will be injected into other structures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's first try to have the simplest implementation possible, without this config. Could you adjust this PR so that it just adds the macro and the tests to make sure that it works?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@freekmurze done in 1110cf7
Thanks, I'll simplify it even further on |
No description provided.