Log sampling
Please refer to this issue.
Changes include:
- Optional sampling configuration bean to capture if sampling is enabled and if so, what percentage.
- Random sampling for non-audit info logs in the logger implementation.
- Random sampling for successful dependencies.
- Modify how BlobStore logs its dependency operation. It should use DependencyLogger (central, one place) than to call
logDependency
separately. This way, sampling is automatically incorporated. - Unit test changes.
Edited by Alok Joshi