-
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
verify: Added extra statistics for block index; Printable on debug; Interesting results #3385
Conversation
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.
Looks good. I think there are some unintended Config
->Context
transformations.
Fixed 🤗 Thanks @kakkoyun for super quick review |
@bwplotka i think this is wonderful! 🎉 questions: could this data be a) machine-retrievable? and b) available in the UI? |
a) you mean API? Why not, feel free to add an issue for it 🤗 (This API would need to download block index though) b) Of what service? There is plan to have BucketViewer to have those features (cc @kunal-kushwaha) and to migrate such view to Prometheus |
…issue Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
This is very interesting. Thanks! |
…issue (thanos-io#3385) Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com> Signed-off-by: Oghenebrume50 <raphlbrume@gmail.com>
Was playing around a couple of statistics of real block indexes and this is crazy!
For example one customer's block from our production at Red Hat has following stats:
We can actually learn a lot here. This is a non-downsampled, 2-week block that has 8.3 Million of series.
Interesting things we can find from this 🤯 👇
SeriesAvgLifeDuration:13h7m1.399s
SingleSampleSeries:398902 SingleSampleChunks:1330558
.. 400k of 8.3M series have one sample, thus most likely are not usable / not graphable. This might mean some sneaky app using Prometheus as event-based system. 🤦Wonder what your blocs look like, so shipping this code so everyone can check. Even usable for blocks in Prometheus local disk e.g:
Is that healthy? @brian-brazil @pracucci @kakkoyun @s-urbaniak @gouthamve @codesome @smarterclayton ;p
Signed-off-by: Bartlomiej Plotka bwplotka@gmail.com