-
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
thanos store sharding memory issue #1664
Comments
Additionally, since |
@R4scal Is your first |
@jojohappy yes |
This looks wrong, we are looking in this, thanks for reporting 👍 ~ |
Found the problem, fixing now |
…sharding e2e test. Fixes: #1664 Signed-off-by: Bartek Plotka <[email protected]>
…sharding e2e test. Fixes: #1664 Signed-off-by: Bartek Plotka <[email protected]>
…sharding e2e test. Fixes: #1664 Signed-off-by: Bartek Plotka <[email protected]>
…sharding e2e test. Fixes: #1664 Signed-off-by: Bartek Plotka <[email protected]>
…sharding e2e test. (#1669) * store: Filter blocks before loading it. Sort advertise labels; Added sharding e2e test. Fixes: #1664 Signed-off-by: Bartek Plotka <[email protected]> * Trying to speed up tests a bit. Signed-off-by: Bartek Plotka <[email protected]> * Fixed tests. Signed-off-by: Bartek Plotka <[email protected]>
This should be fixed, can you verify? E.g by using master image: |
Yep, I will try and reply today |
@bwplotka looks amazing |
Awesome! I think we internally agreed to not release v0.8.2 unless necessary as sharding is experimental. We want to release this in v0.9.0 around 20thNov. Is that fine? cc @jojohappy |
Agree. |
Ok, thanks |
…sharding e2e test. (#1669) * store: Filter blocks before loading it. Sort advertise labels; Added sharding e2e test. Fixes: #1664 Signed-off-by: Bartek Plotka <[email protected]> * Trying to speed up tests a bit. Signed-off-by: Bartek Plotka <[email protected]> * Fixed tests. Signed-off-by: Bartek Plotka <[email protected]> Signed-off-by: Giedrius Statkevičius <[email protected]>
…sharding e2e test. (#1669) * store: Filter blocks before loading it. Sort advertise labels; Added sharding e2e test. Fixes: thanos-io/thanos#1664 Signed-off-by: Bartek Plotka <[email protected]> * Trying to speed up tests a bit. Signed-off-by: Bartek Plotka <[email protected]> * Fixed tests. Signed-off-by: Bartek Plotka <[email protected]>
Object Storage Provider: minio
What happened:
I have multiple prometheus instances in single s3-bucket with different external labels
service
.When I tried use
--selector.relabel-config
for sharding, but all my shards use some memory (as previously all-in-one store instance). So, because all shards have all-in-one memory, sharding not working now.My configs:
3 prometheus witth external labels:
service: one
service: two
service: another
2 shards with configs:
I specifically use a nonexistent label for the experiment. I this setup all my shards use around 10Gb Ram (not_exists too).
In thanos query ui i see:
In s3 logs i see that thanos get for blacklisted block all: index, index.cache.json, meta.json for all shards.
What you expected to happen:
Sharding with
--selector.relabel-config
requere memory as need for only shard blocksThe text was updated successfully, but these errors were encountered: