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

Prevent old logstasher monkey patch from overriding patch #377

Merged
merged 2 commits into from
Jun 5, 2024

Conversation

theseanything
Copy link
Contributor

For some apps the initialisation order means that the logstasher is initialiser after and therefore the original patch is applied after the patch from this library, effectively disabling the fix for OpenTelementry traces.

This sets the config option to prevent the logstasher from applying its patch after, if the original patch is already applied.

This prevents the old monkey patch from being applied after the patch
from this gem.
@theseanything theseanything merged commit d0108d3 into main Jun 5, 2024
9 checks passed
@theseanything theseanything deleted the fix-race-condition-for-patch branch June 5, 2024 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants