- 
                Notifications
    You must be signed in to change notification settings 
- Fork 984
Change automaticDataCollectionEnabled to default to true. #8999
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
Conversation
| 🦋 Changeset detectedLatest commit: 32e9eef The changes in this PR will be included in the next version bump. This PR includes changesets to release 5 packages
 Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR | 
| Vertex AI Mock Responses Check  | 
| Changeset File Check ✅
 | 
| Size Report 1Affected Products
 Test Logs | 
| Size Analysis Report 1Affected Products
 Test Logs | 
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.
LGTM!
)" This reverts commit 3789b5a.
This change should default
automaticDataCollectionEnabledto true (it previously defaulted to false).This value is only consumed by App Check and Vertex.
App Check has been modified so that it retains the previous behavior (that automatic token refresh is off by default and will be turned on if
isTokenRefreshEnabledis explicitly set to true). The only unexpected behavior may be that settingisTokenRefreshEnabledwill do nothing ifautomaticDataCollectionEnabledis set to false. This is unlikely to happen as users rarely touchautomaticDataCollectionEnabledand this PR defaults it to true. I have added a logged warning just in case, but this is expected to be an edge case.This affects Vertex in that it allows sending data for AI monitoring by default.