-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Metrics for compaction and downsampling process #4801
Merged
Merged
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
Signed-off-by: metonymic-smokey <ahuja.aditi@gmail.com>
Signed-off-by: metonymic-smokey <ahuja.aditi@gmail.com>
Signed-off-by: metonymic-smokey <ahuja.aditi@gmail.com>
Signed-off-by: metonymic-smokey <ahuja.aditi@gmail.com>
Signed-off-by: metonymic-smokey <ahuja.aditi@gmail.com>
Signed-off-by: metonymic-smokey <ahuja.aditi@gmail.com>
Signed-off-by: metonymic-smokey <ahuja.aditi@gmail.com>
Signed-off-by: metonymic-smokey <ahuja.aditi@gmail.com>
Signed-off-by: metonymic-smokey <ahuja.aditi@gmail.com>
Signed-off-by: metonymic-smokey <ahuja.aditi@gmail.com>
Signed-off-by: metonymic-smokey <ahuja.aditi@gmail.com>
Signed-off-by: metonymic-smokey <ahuja.aditi@gmail.com>
Signed-off-by: metonymic-smokey <ahuja.aditi@gmail.com>
Signed-off-by: metonymic-smokey <ahuja.aditi@gmail.com>
Signed-off-by: metonymic-smokey <ahuja.aditi@gmail.com>
Signed-off-by: metonymic-smokey <ahuja.aditi@gmail.com>
Signed-off-by: metonymic-smokey <ahuja.aditi@gmail.com>
Signed-off-by: metonymic-smokey <ahuja.aditi@gmail.com>
Signed-off-by: metonymic-smokey <ahuja.aditi@gmail.com>
Signed-off-by: metonymic-smokey <ahuja.aditi@gmail.com>
Signed-off-by: metonymic-smokey <ahuja.aditi@gmail.com>
Signed-off-by: metonymic-smokey <ahuja.aditi@gmail.com>
Signed-off-by: metonymic-smokey <ahuja.aditi@gmail.com>
Signed-off-by: metonymic-smokey <ahuja.aditi@gmail.com>
Signed-off-by: metonymic-smokey <ahuja.aditi@gmail.com>
Signed-off-by: metonymic-smokey <ahuja.aditi@gmail.com>
Signed-off-by: metonymic-smokey <ahuja.aditi@gmail.com>
metonymic-smokey
force-pushed
the
compact-metrics
branch
from
November 4, 2021 12:34
af188aa
to
5022b01
Compare
Signed-off-by: metonymic-smokey <ahuja.aditi@gmail.com>
metonymic-smokey
force-pushed
the
compact-metrics
branch
from
November 5, 2021 04:05
5022b01
to
639b964
Compare
Signed-off-by: metonymic-smokey <ahuja.aditi@gmail.com>
yeya24
reviewed
Nov 5, 2021
Signed-off-by: metonymic-smokey <ahuja.aditi@gmail.com>
metonymic-smokey
force-pushed
the
compact-metrics
branch
from
November 5, 2021 06:06
3c92690
to
a58b63f
Compare
yeya24
reviewed
Nov 5, 2021
metonymic-smokey
force-pushed
the
compact-metrics
branch
2 times, most recently
from
November 5, 2021 08:57
8146daf
to
1bd7b17
Compare
Signed-off-by: metonymic-smokey <ahuja.aditi@gmail.com>
metonymic-smokey
force-pushed
the
compact-metrics
branch
from
November 5, 2021 09:07
1bd7b17
to
8ec72e6
Compare
Signed-off-by: metonymic-smokey <ahuja.aditi@gmail.com>
Signed-off-by: metonymic-smokey <ahuja.aditi@gmail.com>
yeya24
reviewed
Nov 5, 2021
Signed-off-by: metonymic-smokey <ahuja.aditi@gmail.com>
metonymic-smokey
force-pushed
the
compact-metrics
branch
from
November 6, 2021 03:52
41c971a
to
6999f7f
Compare
yeya24
reviewed
Nov 6, 2021
cmd/thanos/compact.go
Outdated
originalMetas := sy.Metas() | ||
groups, err := grouper.Groups(originalMetas) | ||
if err != nil { | ||
return errors.Wrapf(err, "could not group original metadata") |
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.
This is still not solved @metonymic-smokey
yeya24
reviewed
Nov 6, 2021
Signed-off-by: metonymic-smokey <ahuja.aditi@gmail.com>
metonymic-smokey
force-pushed
the
compact-metrics
branch
from
November 6, 2021 05:46
0660dc2
to
37848f1
Compare
Signed-off-by: metonymic-smokey <ahuja.aditi@gmail.com>
Signed-off-by: metonymic-smokey <ahuja.aditi@gmail.com>
Signed-off-by: metonymic-smokey <ahuja.aditi@gmail.com>
metonymic-smokey
force-pushed
the
compact-metrics
branch
from
November 6, 2021 12:55
6df9245
to
02bb607
Compare
yeya24
approved these changes
Nov 6, 2021
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.
LGTM. Thanks for the patience. Let's try it!
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.
Changes
This PR adds metrics to tracks the progress of compaction and downsampling such as number of iterations, blocks, etc.
Fixes #3985
Verification
Metrics shown on the
/metrics
endpoint:Compaction:
Downsampling: