-
Notifications
You must be signed in to change notification settings - Fork 14
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
stats: make quantile tolerated error configurable #281
Merged
DifferentialOrange
merged 1 commit into
master
from
DifferentialOrange/crud-metrics-params
May 6, 2022
Merged
stats: make quantile tolerated error configurable #281
DifferentialOrange
merged 1 commit into
master
from
DifferentialOrange/crud-metrics-params
May 6, 2022
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
e4c58c8
to
ee11410
Compare
Base automatically changed from
DifferentialOrange/gh-278-sharding-mismatch
to
master
May 6, 2022 15:01
ee11410
to
6ef442d
Compare
Totktonada
approved these changes
May 6, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No objections from me.
Make metrics quantile collector tolerated error [1] configurable. Change metrics quantile collector default tolerated error from 1e-2 to 1e-3. The motivation of this patch is a tarantool/metrics bug [2]. Sometimes quantile values turn to `-Inf` under high load when observations are small. It was reproduced in process of developing Grafana dashboard panels for CRUD stats [3]. Quantile tolerated error could be changed with crud.cfg: crud.cfg{stats_quantile_tolerated_error = 1e-4} 1. https://www.tarantool.io/ru/doc/latest/book/monitoring/api_reference/#summary 2. tarantool/metrics#189 3. https://github.com/tarantool/grafana-dashboard/tree/DifferentialOrange/crud-report
6ef442d
to
42ca02a
Compare
DifferentialOrange
added a commit
that referenced
this pull request
May 6, 2022
CRUD 0.11.1 fixes critical bug found in #278, so it is recommended to use it instead of 0.11.0. Added: * Make metrics quantile collector tolerated error configurable (#281). Changed: * Change metrics quantile collector default tolerated error from 1e-2 to 1e-3 (#281). Fixed: * Requests no more fail with "Sharding hash mismatch" error if ddl set and bucket_id is explicitly specified (#278).
DifferentialOrange
added a commit
that referenced
this pull request
May 6, 2022
Overview This release fixes critical bug introduced in 0.11.0. It is recommended to use 0.11.1 instead of 0.11.0. It also adds an ability to configure quantile collector tolerated error and changes its default value. Breaking changes There are no breaking changes in the release. New features Set quantile collector tolerated error with crud.cfg (#281): crud.cfg{ stats_quantile_tolerated_error = 1e-4 } Decreasing tolerated error may fix getting `-Inf` values in quantiles. Increasing tolerated error may improve performance a bit. Bugfixes Requests no more fail with "Sharding hash mismatch" error if ddl set and bucket_id is explicitly specified (#278).
DifferentialOrange
added a commit
that referenced
this pull request
May 6, 2022
Overview This release fixes critical bug introduced in 0.11.0. It is recommended to use 0.11.1 instead of 0.11.0. It also adds an ability to configure quantile collector tolerated error and changes its default value. Breaking changes There are no breaking changes in the release. New features Set quantile collector tolerated error with crud.cfg (#281): crud.cfg{ stats_quantile_tolerated_error = 1e-4 } Decreasing tolerated error may fix getting `-Inf` values in quantiles. Increasing tolerated error may improve performance a bit. Bugfixes Requests no more fail with "Sharding hash mismatch" error if ddl set and bucket_id is explicitly specified (#278).
DifferentialOrange
added a commit
that referenced
this pull request
May 17, 2022
Before this patch, stats_quantile_tolerated_error configuration parameter value could be lost in the following sequence of separate crud.cfg calls: 1. Set up stats_quantile_tolerated_error (maybe together with other parameters). 2. Set up any other cfg parameter, do not set stats_quantile_tolerated_error in call explicitly. It was expected that stats_quantile_tolerated_error from the first step will be preserved after the second one, but it was lost. This patch fixes the behavior. Follows up PR #281, closes #284
2 tasks
DifferentialOrange
added a commit
that referenced
this pull request
May 18, 2022
Before this patch, stats_quantile_tolerated_error configuration parameter value could be lost in the following sequence of separate crud.cfg calls: 1. Set up stats_quantile_tolerated_error (maybe together with other parameters). 2. Set up any other cfg parameter, do not set stats_quantile_tolerated_error in call explicitly. It was expected that stats_quantile_tolerated_error from the first step will be preserved after the second one, but it was lost. This patch fixes the behavior. Follows up PR #281, closes #284
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Make metrics quantile collector tolerated error [1] configurable. Change
metrics quantile collector default tolerated error from 1e-2 to 1e-3.
The motivation of this patch is a tarantool/metrics bug [2]. Sometimes
quantile values turn to
-Inf
under high load when observations aresmall. It was reproduced in process of developing Grafana dashboard
panels for CRUD stats [3].
Quantile tolerated error could be changed with crud.cfg: