Skip to content

Update thanos version to latest main #5448

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

Merged
merged 16 commits into from
Jul 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
* [CHANGE] Alertmanager: Validating new fields on the PagerDuty AM config. #5290
* [CHANGE] Ingester: Creating label `native-histogram-sample` on the `cortex_discarded_samples_total` to keep track of discarded native histogram samples. #5289
* [CHANGE] Store Gateway: Rename `cortex_bucket_store_cached_postings_compression_time_seconds` to `cortex_bucket_store_cached_postings_compression_time_seconds_total`. #5431
* [CHANGE] Store Gateway: Rename `cortex_bucket_store_cached_series_fetch_duration_seconds` to `cortex_bucket_store_series_fetch_duration_seconds` and `cortex_bucket_store_cached_postings_fetch_duration_seconds` to `cortex_bucket_store_postings_fetch_duration_seconds`. Add new metric `cortex_bucket_store_chunks_fetch_duration_seconds`. #5448
* [CHANGE] Store Gateway: Remove `idle_timeout`, `max_conn_age`, `pool_size`, `min_idle_conns` fields for Redis index cache and caching bucket. #5448
* [FEATURE] Store Gateway: Add `max_downloaded_bytes_per_request` to limit max bytes to download per store gateway request.
* [FEATURE] Added 2 flags `-alertmanager.alertmanager-client.grpc-max-send-msg-size` and ` -alertmanager.alertmanager-client.grpc-max-recv-msg-size` to configure alert manager grpc client message size limits. #5338
* [FEATURE] Query Frontend: Add `cortex_rejected_queries_total` metric for throttled queries. #5356
Expand Down
57 changes: 0 additions & 57 deletions docs/blocks-storage/querier.md
Original file line number Diff line number Diff line change
Expand Up @@ -601,15 +601,6 @@ blocks_storage:
# CLI flag: -blocks-storage.bucket-store.index-cache.redis.master-name
[master_name: <string> | default = ""]

# Maximum number of socket connections.
# CLI flag: -blocks-storage.bucket-store.index-cache.redis.pool-size
[pool_size: <int> | default = 100]

# Specifies the minimum number of idle connections, which is useful when
# it is slow to establish new connections.
# CLI flag: -blocks-storage.bucket-store.index-cache.redis.min-idle-conns
[min_idle_conns: <int> | default = 10]

# The maximum number of concurrent GetMulti() operations. If set to 0,
# concurrency is unlimited.
# CLI flag: -blocks-storage.bucket-store.index-cache.redis.max-get-multi-concurrency
Expand Down Expand Up @@ -640,16 +631,6 @@ blocks_storage:
# CLI flag: -blocks-storage.bucket-store.index-cache.redis.write-timeout
[write_timeout: <duration> | default = 3s]

# Amount of time after which client closes idle connections. Should be
# less than server's timeout. -1 disables idle timeout check.
# CLI flag: -blocks-storage.bucket-store.index-cache.redis.idle-timeout
[idle_timeout: <duration> | default = 5m]

# Connection age at which client retires (closes) the connection.
# Default 0 is to not close aged connections.
# CLI flag: -blocks-storage.bucket-store.index-cache.redis.max-conn-age
[max_conn_age: <duration> | default = 0s]

# Whether to enable tls for redis connection.
# CLI flag: -blocks-storage.bucket-store.index-cache.redis.tls-enabled
[tls_enabled: <boolean> | default = false]
Expand Down Expand Up @@ -760,15 +741,6 @@ blocks_storage:
# CLI flag: -blocks-storage.bucket-store.chunks-cache.redis.master-name
[master_name: <string> | default = ""]

# Maximum number of socket connections.
# CLI flag: -blocks-storage.bucket-store.chunks-cache.redis.pool-size
[pool_size: <int> | default = 100]

# Specifies the minimum number of idle connections, which is useful when
# it is slow to establish new connections.
# CLI flag: -blocks-storage.bucket-store.chunks-cache.redis.min-idle-conns
[min_idle_conns: <int> | default = 10]

# The maximum number of concurrent GetMulti() operations. If set to 0,
# concurrency is unlimited.
# CLI flag: -blocks-storage.bucket-store.chunks-cache.redis.max-get-multi-concurrency
Expand Down Expand Up @@ -799,16 +771,6 @@ blocks_storage:
# CLI flag: -blocks-storage.bucket-store.chunks-cache.redis.write-timeout
[write_timeout: <duration> | default = 3s]

# Amount of time after which client closes idle connections. Should be
# less than server's timeout. -1 disables idle timeout check.
# CLI flag: -blocks-storage.bucket-store.chunks-cache.redis.idle-timeout
[idle_timeout: <duration> | default = 5m]

# Connection age at which client retires (closes) the connection.
# Default 0 is to not close aged connections.
# CLI flag: -blocks-storage.bucket-store.chunks-cache.redis.max-conn-age
[max_conn_age: <duration> | default = 0s]

# Whether to enable tls for redis connection.
# CLI flag: -blocks-storage.bucket-store.chunks-cache.redis.tls-enabled
[tls_enabled: <boolean> | default = false]
Expand Down Expand Up @@ -938,15 +900,6 @@ blocks_storage:
# CLI flag: -blocks-storage.bucket-store.metadata-cache.redis.master-name
[master_name: <string> | default = ""]

# Maximum number of socket connections.
# CLI flag: -blocks-storage.bucket-store.metadata-cache.redis.pool-size
[pool_size: <int> | default = 100]

# Specifies the minimum number of idle connections, which is useful when
# it is slow to establish new connections.
# CLI flag: -blocks-storage.bucket-store.metadata-cache.redis.min-idle-conns
[min_idle_conns: <int> | default = 10]

# The maximum number of concurrent GetMulti() operations. If set to 0,
# concurrency is unlimited.
# CLI flag: -blocks-storage.bucket-store.metadata-cache.redis.max-get-multi-concurrency
Expand Down Expand Up @@ -977,16 +930,6 @@ blocks_storage:
# CLI flag: -blocks-storage.bucket-store.metadata-cache.redis.write-timeout
[write_timeout: <duration> | default = 3s]

# Amount of time after which client closes idle connections. Should be
# less than server's timeout. -1 disables idle timeout check.
# CLI flag: -blocks-storage.bucket-store.metadata-cache.redis.idle-timeout
[idle_timeout: <duration> | default = 5m]

# Connection age at which client retires (closes) the connection.
# Default 0 is to not close aged connections.
# CLI flag: -blocks-storage.bucket-store.metadata-cache.redis.max-conn-age
[max_conn_age: <duration> | default = 0s]

# Whether to enable tls for redis connection.
# CLI flag: -blocks-storage.bucket-store.metadata-cache.redis.tls-enabled
[tls_enabled: <boolean> | default = false]
Expand Down
57 changes: 0 additions & 57 deletions docs/blocks-storage/store-gateway.md
Original file line number Diff line number Diff line change
Expand Up @@ -688,15 +688,6 @@ blocks_storage:
# CLI flag: -blocks-storage.bucket-store.index-cache.redis.master-name
[master_name: <string> | default = ""]

# Maximum number of socket connections.
# CLI flag: -blocks-storage.bucket-store.index-cache.redis.pool-size
[pool_size: <int> | default = 100]

# Specifies the minimum number of idle connections, which is useful when
# it is slow to establish new connections.
# CLI flag: -blocks-storage.bucket-store.index-cache.redis.min-idle-conns
[min_idle_conns: <int> | default = 10]

# The maximum number of concurrent GetMulti() operations. If set to 0,
# concurrency is unlimited.
# CLI flag: -blocks-storage.bucket-store.index-cache.redis.max-get-multi-concurrency
Expand Down Expand Up @@ -727,16 +718,6 @@ blocks_storage:
# CLI flag: -blocks-storage.bucket-store.index-cache.redis.write-timeout
[write_timeout: <duration> | default = 3s]

# Amount of time after which client closes idle connections. Should be
# less than server's timeout. -1 disables idle timeout check.
# CLI flag: -blocks-storage.bucket-store.index-cache.redis.idle-timeout
[idle_timeout: <duration> | default = 5m]

# Connection age at which client retires (closes) the connection.
# Default 0 is to not close aged connections.
# CLI flag: -blocks-storage.bucket-store.index-cache.redis.max-conn-age
[max_conn_age: <duration> | default = 0s]

# Whether to enable tls for redis connection.
# CLI flag: -blocks-storage.bucket-store.index-cache.redis.tls-enabled
[tls_enabled: <boolean> | default = false]
Expand Down Expand Up @@ -847,15 +828,6 @@ blocks_storage:
# CLI flag: -blocks-storage.bucket-store.chunks-cache.redis.master-name
[master_name: <string> | default = ""]

# Maximum number of socket connections.
# CLI flag: -blocks-storage.bucket-store.chunks-cache.redis.pool-size
[pool_size: <int> | default = 100]

# Specifies the minimum number of idle connections, which is useful when
# it is slow to establish new connections.
# CLI flag: -blocks-storage.bucket-store.chunks-cache.redis.min-idle-conns
[min_idle_conns: <int> | default = 10]

# The maximum number of concurrent GetMulti() operations. If set to 0,
# concurrency is unlimited.
# CLI flag: -blocks-storage.bucket-store.chunks-cache.redis.max-get-multi-concurrency
Expand Down Expand Up @@ -886,16 +858,6 @@ blocks_storage:
# CLI flag: -blocks-storage.bucket-store.chunks-cache.redis.write-timeout
[write_timeout: <duration> | default = 3s]

# Amount of time after which client closes idle connections. Should be
# less than server's timeout. -1 disables idle timeout check.
# CLI flag: -blocks-storage.bucket-store.chunks-cache.redis.idle-timeout
[idle_timeout: <duration> | default = 5m]

# Connection age at which client retires (closes) the connection.
# Default 0 is to not close aged connections.
# CLI flag: -blocks-storage.bucket-store.chunks-cache.redis.max-conn-age
[max_conn_age: <duration> | default = 0s]

# Whether to enable tls for redis connection.
# CLI flag: -blocks-storage.bucket-store.chunks-cache.redis.tls-enabled
[tls_enabled: <boolean> | default = false]
Expand Down Expand Up @@ -1025,15 +987,6 @@ blocks_storage:
# CLI flag: -blocks-storage.bucket-store.metadata-cache.redis.master-name
[master_name: <string> | default = ""]

# Maximum number of socket connections.
# CLI flag: -blocks-storage.bucket-store.metadata-cache.redis.pool-size
[pool_size: <int> | default = 100]

# Specifies the minimum number of idle connections, which is useful when
# it is slow to establish new connections.
# CLI flag: -blocks-storage.bucket-store.metadata-cache.redis.min-idle-conns
[min_idle_conns: <int> | default = 10]

# The maximum number of concurrent GetMulti() operations. If set to 0,
# concurrency is unlimited.
# CLI flag: -blocks-storage.bucket-store.metadata-cache.redis.max-get-multi-concurrency
Expand Down Expand Up @@ -1064,16 +1017,6 @@ blocks_storage:
# CLI flag: -blocks-storage.bucket-store.metadata-cache.redis.write-timeout
[write_timeout: <duration> | default = 3s]

# Amount of time after which client closes idle connections. Should be
# less than server's timeout. -1 disables idle timeout check.
# CLI flag: -blocks-storage.bucket-store.metadata-cache.redis.idle-timeout
[idle_timeout: <duration> | default = 5m]

# Connection age at which client retires (closes) the connection.
# Default 0 is to not close aged connections.
# CLI flag: -blocks-storage.bucket-store.metadata-cache.redis.max-conn-age
[max_conn_age: <duration> | default = 0s]

# Whether to enable tls for redis connection.
# CLI flag: -blocks-storage.bucket-store.metadata-cache.redis.tls-enabled
[tls_enabled: <boolean> | default = false]
Expand Down
57 changes: 0 additions & 57 deletions docs/configuration/config-file-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -1127,15 +1127,6 @@ bucket_store:
# CLI flag: -blocks-storage.bucket-store.index-cache.redis.master-name
[master_name: <string> | default = ""]

# Maximum number of socket connections.
# CLI flag: -blocks-storage.bucket-store.index-cache.redis.pool-size
[pool_size: <int> | default = 100]

# Specifies the minimum number of idle connections, which is useful when
# it is slow to establish new connections.
# CLI flag: -blocks-storage.bucket-store.index-cache.redis.min-idle-conns
[min_idle_conns: <int> | default = 10]

# The maximum number of concurrent GetMulti() operations. If set to 0,
# concurrency is unlimited.
# CLI flag: -blocks-storage.bucket-store.index-cache.redis.max-get-multi-concurrency
Expand Down Expand Up @@ -1166,16 +1157,6 @@ bucket_store:
# CLI flag: -blocks-storage.bucket-store.index-cache.redis.write-timeout
[write_timeout: <duration> | default = 3s]

# Amount of time after which client closes idle connections. Should be
# less than server's timeout. -1 disables idle timeout check.
# CLI flag: -blocks-storage.bucket-store.index-cache.redis.idle-timeout
[idle_timeout: <duration> | default = 5m]

# Connection age at which client retires (closes) the connection. Default
# 0 is to not close aged connections.
# CLI flag: -blocks-storage.bucket-store.index-cache.redis.max-conn-age
[max_conn_age: <duration> | default = 0s]

# Whether to enable tls for redis connection.
# CLI flag: -blocks-storage.bucket-store.index-cache.redis.tls-enabled
[tls_enabled: <boolean> | default = false]
Expand Down Expand Up @@ -1286,15 +1267,6 @@ bucket_store:
# CLI flag: -blocks-storage.bucket-store.chunks-cache.redis.master-name
[master_name: <string> | default = ""]

# Maximum number of socket connections.
# CLI flag: -blocks-storage.bucket-store.chunks-cache.redis.pool-size
[pool_size: <int> | default = 100]

# Specifies the minimum number of idle connections, which is useful when
# it is slow to establish new connections.
# CLI flag: -blocks-storage.bucket-store.chunks-cache.redis.min-idle-conns
[min_idle_conns: <int> | default = 10]

# The maximum number of concurrent GetMulti() operations. If set to 0,
# concurrency is unlimited.
# CLI flag: -blocks-storage.bucket-store.chunks-cache.redis.max-get-multi-concurrency
Expand Down Expand Up @@ -1325,16 +1297,6 @@ bucket_store:
# CLI flag: -blocks-storage.bucket-store.chunks-cache.redis.write-timeout
[write_timeout: <duration> | default = 3s]

# Amount of time after which client closes idle connections. Should be
# less than server's timeout. -1 disables idle timeout check.
# CLI flag: -blocks-storage.bucket-store.chunks-cache.redis.idle-timeout
[idle_timeout: <duration> | default = 5m]

# Connection age at which client retires (closes) the connection. Default
# 0 is to not close aged connections.
# CLI flag: -blocks-storage.bucket-store.chunks-cache.redis.max-conn-age
[max_conn_age: <duration> | default = 0s]

# Whether to enable tls for redis connection.
# CLI flag: -blocks-storage.bucket-store.chunks-cache.redis.tls-enabled
[tls_enabled: <boolean> | default = false]
Expand Down Expand Up @@ -1463,15 +1425,6 @@ bucket_store:
# CLI flag: -blocks-storage.bucket-store.metadata-cache.redis.master-name
[master_name: <string> | default = ""]

# Maximum number of socket connections.
# CLI flag: -blocks-storage.bucket-store.metadata-cache.redis.pool-size
[pool_size: <int> | default = 100]

# Specifies the minimum number of idle connections, which is useful when
# it is slow to establish new connections.
# CLI flag: -blocks-storage.bucket-store.metadata-cache.redis.min-idle-conns
[min_idle_conns: <int> | default = 10]

# The maximum number of concurrent GetMulti() operations. If set to 0,
# concurrency is unlimited.
# CLI flag: -blocks-storage.bucket-store.metadata-cache.redis.max-get-multi-concurrency
Expand Down Expand Up @@ -1502,16 +1455,6 @@ bucket_store:
# CLI flag: -blocks-storage.bucket-store.metadata-cache.redis.write-timeout
[write_timeout: <duration> | default = 3s]

# Amount of time after which client closes idle connections. Should be
# less than server's timeout. -1 disables idle timeout check.
# CLI flag: -blocks-storage.bucket-store.metadata-cache.redis.idle-timeout
[idle_timeout: <duration> | default = 5m]

# Connection age at which client retires (closes) the connection. Default
# 0 is to not close aged connections.
# CLI flag: -blocks-storage.bucket-store.metadata-cache.redis.max-conn-age
[max_conn_age: <duration> | default = 0s]

# Whether to enable tls for redis connection.
# CLI flag: -blocks-storage.bucket-store.metadata-cache.redis.tls-enabled
[tls_enabled: <boolean> | default = false]
Expand Down
12 changes: 6 additions & 6 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ require (
github.com/pkg/errors v0.9.1
github.com/prometheus/alertmanager v0.25.1-0.20230505130626-263ca5c9438e
github.com/prometheus/client_golang v1.15.1
github.com/prometheus/client_model v0.3.0
github.com/prometheus/common v0.42.0
github.com/prometheus/client_model v0.4.0
github.com/prometheus/common v0.44.0
// Prometheus maps version 2.x.y to tags v0.x.y.
github.com/prometheus/prometheus v0.44.1-0.20230530154238-dfae954dc113
github.com/segmentio/fasthash v1.0.3
Expand All @@ -53,7 +53,7 @@ require (
github.com/stretchr/testify v1.8.4
github.com/thanos-io/objstore v0.0.0-20230629211010-ff1b35b9841a
github.com/thanos-io/promql-engine v0.0.0-20230526105742-791d78b260ea
github.com/thanos-io/thanos v0.31.1-0.20230627154113-7cfaf3fe2d43
github.com/thanos-io/thanos v0.31.1-0.20230711160112-df3a5f808726
github.com/uber/jaeger-client-go v2.30.0+incompatible
github.com/weaveworks/common v0.0.0-20221201103051-7c2720a9024d
go.etcd.io/etcd/api/v3 v3.5.8
Expand All @@ -79,6 +79,7 @@ require (
require (
github.com/cespare/xxhash/v2 v2.2.0
github.com/google/go-cmp v0.5.9
google.golang.org/protobuf v1.30.0
)

require (
Expand Down Expand Up @@ -182,7 +183,7 @@ require (
github.com/prometheus/common/sigv4 v0.1.0 // indirect
github.com/prometheus/exporter-toolkit v0.10.0 // indirect
github.com/prometheus/procfs v0.9.0 // indirect
github.com/redis/rueidis v1.0.2-go1.18 // indirect
github.com/redis/rueidis v1.0.10-go1.18 // indirect
github.com/rs/cors v1.9.0 // indirect
github.com/rs/xid v1.5.0 // indirect
github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 // indirect
Expand Down Expand Up @@ -213,7 +214,7 @@ require (
golang.org/x/crypto v0.9.0 // indirect
golang.org/x/exp v0.0.0-20230321023759-10a507213a29 // indirect
golang.org/x/mod v0.10.0 // indirect
golang.org/x/oauth2 v0.7.0 // indirect
golang.org/x/oauth2 v0.8.0 // indirect
golang.org/x/sys v0.8.0 // indirect
golang.org/x/text v0.9.0 // indirect
golang.org/x/tools v0.9.1 // indirect
Expand All @@ -224,7 +225,6 @@ require (
google.golang.org/genproto v0.0.0-20230526203410-71b5a4ffd15e // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20230526203410-71b5a4ffd15e // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20230526203410-71b5a4ffd15e // indirect
google.golang.org/protobuf v1.30.0 // indirect
gopkg.in/alecthomas/kingpin.v2 v2.2.6 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
)
Expand Down
Loading