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

fix: allow default_integrations to actually turn off the defaults #31

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rabbiveesh
Copy link
Contributor

  • in addition, we provide the defaults as a sub in case the user wants
    to manually add them (delaying initialization could make a difference)

If there's anything you'd want changed in the implementation, i'm happy to do so. I
personally need this b/c I used to get memory leaks from spans very early in my mojo app,
so i had to patch the code locally to turn off storing any breadcrumbs outside of the
req/res cycle.

In any case, the docs claim that you can turn off the default integrations, and before
this patch that is not the case.

I also changed the default value for default_integrations to 1 rather than empty array
b/c it's not meant to be an array

  * in addition, we provide the defaults as a sub in case the user wants
    to manually add them (delaying initialization could make a difference)
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.

1 participant