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

Making Context-Propagation library a mandatory dependency #37

Merged
merged 1 commit into from
Jul 18, 2022

Conversation

marcingrzejszczak
Copy link
Contributor

Without this being mandatory things like ObservationThreadLocalAccessor from Micrometer Core will not be applicable

In general without Context Propagation Tracing will not work properly

@marcingrzejszczak marcingrzejszczak added the enhancement New feature or request label Jul 15, 2022
@marcingrzejszczak marcingrzejszczak added this to the 1.0.0-M7 milestone Jul 15, 2022
Without this being mandatory things like ObservationThreadLocalAccessor from Micrometer Core will not be applicable

In general without Context Propagation Tracing will not work properly
@marcingrzejszczak marcingrzejszczak merged commit 792f336 into main Jul 18, 2022
@marcingrzejszczak marcingrzejszczak deleted the contextPropagationMandatory branch July 18, 2022 12:22
@@ -4,6 +4,7 @@ plugins {

dependencies {
api 'io.micrometer:micrometer-observation'
api 'io.micrometer:context-propagation'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it needed as api or implementation? In other words, do users of micrometer tracing need context-propagation on the classpath when compiling or only at runtime? If context-propagation types are not in any of tracing's API that users would compile against, then it can be implementation instead, I think.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok I'll change it to implementation then

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants