-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Log/trace JSONs larger than 10MB in Assets client's
getAppJSONByVendor
The class `AppsConfigsCloader` in `vtex.pages-graphql` has an Assets clients that calls `getSettings`. `getSettings` may call `getBuildJSONForApp` or `getSettingsFromFilesForApp`, and both of them call `getJSON`. `getJSON` calls `getAppJSONByVendor`, which now logs to OS (`"Large JSON file"` message) and Honeycomb the JSON's file size (`json-size` field).
- Loading branch information
Showing
2 changed files
with
42 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters