Skip to content
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

Sampling events #11

Merged
merged 4 commits into from
Jul 25, 2019
Merged

Sampling events #11

merged 4 commits into from
Jul 25, 2019

Conversation

djluck
Copy link
Owner

@djluck djluck commented Jul 25, 2019

Summary …

Added event sampling for high throughput stats collectors to reduce memory footprint, should hopefully resolve issue #6.

Changes

  • JitStatsCollector, ThreadPoolSchedulingStatsCollector and ContentionStatsCollector can now be configured to discard a ratio of start/ stop events, reducing the number of events we need to store in a Cache at any one time
  • A new default sampling rate has been configured for the above collectors (see README)
  • Updated README with example on how to configure sampling and details of the defaults for each stats collector

djluck added 4 commits July 23, 2019 23:00
Added event sampling for high throughput stats collectors to reduce memory footprint, should hopefully resolve [issue #6](#6).

# Changes
- `JitStatsCollector`, `ThreadPoolSchedulingStatsCollector` and `ContentionStatsCollector` can now be configured to discard a ratio of start/ stop events, reducing the number of events we need to store in a `Cache` at any one time
- A new default sampling rate has been configured for the above collectors (see README)
- Updated README with example on how to configure sampling and details of the defaults for each stats collector
@djluck djluck merged commit 3d688f9 into master Jul 25, 2019
@djluck djluck deleted the sampling-events branch August 6, 2019 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant