Closed danzanzini closed 2 years ago
Hi! I'm VTEX IO CI/CD Bot and I'll be helping you to publish your app! 🤖
Please select which version do you want to release:
[x] Patch (backwards-compatible bug fixes)
[ ] Minor (backwards-compatible functionality)
[ ] Major (incompatible API changes)
And then you just need to merge your PR when you are ready! There is no need to create a release commit/tag.
Beep boop :robot:
I noticed you didn't make any changes at the docs/
folder
In order to keep track, I'll create an issue if you decide now is not a good time
Your PR has been merged! App is being published. :rocket: Version 2.155.31 → 2.155.32
After the publishing process has been completed (check #vtex-io-releases) and doing A/B tests with the new version, you can deploy your release by running:
vtex deploy vtex.store-graphql@2.155.32
After that your app will be updated on all accounts.
For more information on the deployment process check the docs. :book:
What is the purpose of this pull request?
This PR adds sampling to the
authorizationMetrics
directive logs.What problem is this solving?
We found that logs with the message
Private route being accessed by unauthorized user
are responsible for sending 3GB of data to Splunk by hour.So, this PR adds a random function to reduce the amount 100x, decreasing the amount logged to 30MB per hour.
How should this be manually tested?
Nothing should have changed, and the amount logged should decrease