merlin
merlin copied to clipboard
feat: add default sampling rate to mlobs logger
Description
As of now, the mlobs logger logs every single message sent to the logger. As there is no good way at the moment to use different logger configuration for different model, tentatively, we will be adding a default sampling rate that will apply to all models that enable mlobs logger.
Modifications
Add a 2% sampling rate to mlobs sink.
Tests
Checklist
- [ ] Added PR label
- [ ] Added unit test, integration, and/or e2e tests
- [ ] Tested locally
- [ ] Updated documentation
- [ ] Update Swagger spec if the PR introduce API changes
- [ ] Regenerated Golang and Python client if the PR introduces API changes
Release Notes