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

Add disableInstrumentation option #122

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

Conversation

skeetmtp
Copy link

Useful when you want to fully disable instrumentation overhead without remove the package

Our need:

With one of our app, node process memory increase a lot when monti packages are added
Issue is a bit mitigated by
"documentSizeCacheSize": 10000
But still, memory usage is quite above normal

We would like to disable monti for this cron meteor app, as it is a cron with no real front, so monti is not as effective as it is on a front app.
unfortunately, as we are mono repo, plus, we actually release a single app, but deploys with different Meteor.settings
so, an app behave differently depending on the settings
Thus, if we remove monti apm for the cron, this will remove it for all our apps, fronts included :/

disableInstrumentation settings, would be great addition for our use case

@skeetmtp
Copy link
Author

skeetmtp commented Jun 6, 2024

Are you ok with the PR?

@skeetmtp skeetmtp force-pushed the disable-instrumentation2 branch 2 times, most recently from 718e89d to 7ecb15c Compare June 21, 2024 06:50
Useful when you want to fully disable instrumentation overhead without remove the package
@skeetmtp
Copy link
Author

up
can we merge this PR ?

@harveysanders
Copy link

+1 for an option to disable instrumentation

@skeetmtp
Copy link
Author

@zodern any chance you can merge it ?

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