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

Document io.micrometer:context-propagation #385

Merged
merged 2 commits into from
Dec 6, 2023
Merged

Conversation

wetted
Copy link
Contributor

@wetted wetted commented Dec 4, 2023

closes #384

These are the docs from https://docs.micronaut.io/latest/guide/#reactorContextPropagation

@dstepanov do we want to add something about ReactorAutomaticContextPropagation in this module?

@sdelamo I think we need an issue for core to remove the docs there and add a link to these docs, yes?

@wetted wetted self-assigned this Dec 4, 2023
@dstepanov
Copy link
Contributor

We might want to add here or, better core, a note on how to add the context in the middle of the reactive chain:

PropagatedContext propagatedContext = PropagatedContext.get();
    mono.contextWrite(ctx -> ReactorPropagation.addPropagatedContext(ctx, propagatedContext))

@wetted wetted requested a review from sdelamo December 5, 2023 16:29
Copy link

sonarcloud bot commented Dec 5, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@sdelamo sdelamo merged commit 63f9b06 into master Dec 6, 2023
12 checks passed
@sdelamo sdelamo deleted the docs-context-propagation branch December 6, 2023 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Document io.micrometer:context-propagation
3 participants