-
Notifications
You must be signed in to change notification settings - Fork 108
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
Disable Sending of ML Events by Default #923
Conversation
🦙 MegaLinter status: ❌ ERROR
See detailed report in MegaLinter reports |
…lic-python-agent into disable-ml-events-default
Codecov Report
@@ Coverage Diff @@
## develop-scikitlearn #923 +/- ##
====================================================
Coverage 81.74% 81.74%
====================================================
Files 190 190
Lines 19581 19581
Branches 3401 3401
====================================================
Hits 16006 16006
Misses 2593 2593
Partials 982 982
... and 3 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
@@ -717,7 +717,7 @@ def default_otlp_host(host): | |||
_settings.transaction_events.attributes.include = [] | |||
|
|||
_settings.custom_insights_events.enabled = True | |||
_settings.ml_insights_events.enabled = True | |||
_settings.ml_insights_events.enabled = False |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this supposed to stay false too? Or just the global override setting?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one was supposed to stay False since we check this as a standalone setting in calls to record_ml_event
and not in conjunction with machine_learning.enabled.
This PR sets the default value of
ml_insights_events.enabled
toFalse
so it can be intentionally enabled by users who would like to send ML events to NR.