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

Allow to downsample request metrics #1001

Merged
merged 1 commit into from
Jun 2, 2020

Conversation

danielmitterdorfer
Copy link
Member

With this commit we introduce a new setting
metrics.request.downsample.factor that allows to control that only
every N-th request metric sample is recorded in the metrics store (this
does not affect throughput calculation which will still consider every
sample). This allows to reduce the number of samples which can be useful
when benchmarks are run with many hundreds or thousands of clients which
would produce a very high number of samples.

With this commit we introduce a new setting
`metrics.request.downsample.factor` that allows to control that only
every N-th request metric sample is recorded in the metrics store (this
does not affect throughput calculation which will still consider every
sample). This allows to reduce the number of samples which can be useful
when benchmarks are run with many hundreds or thousands of clients which
would produce a very high number of samples.
@danielmitterdorfer danielmitterdorfer added enhancement Improves the status quo :Metrics How metrics are stored, calculated or aggregated labels May 28, 2020
@danielmitterdorfer danielmitterdorfer added this to the 2.0.1 milestone May 28, 2020
@danielmitterdorfer danielmitterdorfer self-assigned this May 28, 2020
@danielmitterdorfer
Copy link
Member Author

Note that there are no docs for this; this will be documented once we have a config reference docs page (#991).

Copy link
Contributor

@ebadyano ebadyano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm! Thank you!

@danielmitterdorfer danielmitterdorfer merged commit 809d4f1 into elastic:master Jun 2, 2020
@danielmitterdorfer danielmitterdorfer deleted the downsample branch June 2, 2020 07:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improves the status quo :Metrics How metrics are stored, calculated or aggregated
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants