Bot releases are hidden (Show)
Published by squat almost 3 years ago
Published by squat almost 3 years ago
thanos bucket inspect
: Add flag --output
to provide output method (table,csv,tsv).--endpoint
flag to the querier. The --store
flag will eventually be replaced.exemplar.partial-response
flag to control partial response.enable-feature
flag to enable negative offsets and @
modifier, similar to Prometheus.block-viewer.global.sync-block-timeout
flag to set the timeout of synchronization block metas.--prometheus.http-client
and --prometheus.http-client-file
flag for sidecar to connect to Prometheus with basic auth or TLS.--alert.query-url
which is used in the UI for rules/alerts pages. By default the HTTP listen address is used for this URL.--endpoint-strict
flag to statically configure Thanos API server endpoints. It is similar to --store-strict
but supports passing any Thanos gRPC APIs: StoreAPI, MetadataAPI, RulesAPI, TargetsAPI and ExemplarsAPI.ThanosSidecarUnhealthy
to ThanosSidecarNoConnectionToStartedPrometheus
; Remove ThanosSidecarPrometheusDown
alert; Remove unused thanos_sidecar_last_heartbeat_success_time_seconds
metrics.Published by bwplotka about 3 years ago
Thanks to all 44 contributors, who had committed good work to this release! π€
@GiedriusS @bwplotka @Nexucis @Namanl2001 @hanjm @clyang82 @Hangzhi @pracucci @metalmatze @iamrajiv @roystchiang @saswatamcode @adzshaf @Abhishek357 @Bacto @AnaisUrlichs @2pk03 @vanugrah @arajkumar @galan @ethernoy @hitanshu-mehta @ianbillett @ilangofman @jesusvazquez @jmichalek132 @OGKevin @matej-g @56quarters @nishidhaSri @PhilipGough @phillebaba @JRavi2 @crsandeep @simonpasquier @thanatchakromsang @weyert @wiardvanrij @huyan0 @yangyang919 @zhyChesterCheung @rhassanein @songjiayang @yahaa
Notable changes:
max_idle_conns_per_host
to at least 100!)endpoint
flag. Old components will work as they were, no action is required unless you want to explicitly disable certain APIs (e.g rules, exemplars, metadata etc) if you don't want them.thanos bucket web
: Add flag --selector.relabel-config-file
/ --selector.relabel-config
/ --max-time
/ --min-time
to filter served blocks.http_config
option for COS object store client.duration_ms
in int64 to the logs for easier log filtering.compact.skip-block-with-out-of-order-chunks
to skip blocks with out-of-order chunks during compaction instead of halting.Baidu BOS
object storage, see documents for further information.thanos_compact_downsample_duration_seconds
histogram metric.processed.series
, processed.samples
, processed.samples
and processed.bytes
. This will give admin idea of how much data each component processes per query.--query-range.downstream-tripper-config
and --query-range.downstream-tripper-config-file
. If your downstream URL is localhost or 127.0.0.1 then it is strongly recommended to bump max_idle_conns_per_host
to at least 100 so that query-frontend
could properly use HTTP keep-alive connections and thus reduce the latency of query-frontend
by about 20%.--store
(in the future, to be renamed to --endpoints
) now supports passing any APIs from Thanos gRPC APIs: StoreAPI, MetadataAPI, RulesAPI, TargetsAPI and ExemplarsAPI (in oppose in the past you have to put it in hidden --targets
, --rules
etc flags). --store
will now automatically detect what APIs server exposes.Published by bwplotka about 3 years ago
Fixes couple of critical bugs vs rc.0 (:
thanos bucket web
: Add flag --selector.relabel-config-file
/ --selector.relabel-config
/ --max-time
/ --min-time
to filter served blocks.http_config
option for COS object store client.duration_ms
in int64 to the logs for easier log filtering.compact.skip-block-with-out-of-order-chunks
to skip blocks with out-of-order chunks during compaction instead of halting.Baidu BOS
object storage, see documents for further information.thanos_compact_downsample_duration_seconds
histogram metric.processed.series
, processed.samples
, processed.samples
and processed.bytes
. This will give admin idea of how much data each component processes per query.--query-range.downstream-tripper-config
and --query-range.downstream-tripper-config-file
. If your downstream URL is localhost or 127.0.0.1 then it is strongly recommended to bump max_idle_conns_per_host
to at least 100 so that query-frontend
could properly use HTTP keep-alive connections and thus reduce the latency of query-frontend
by about 20%.--store
(in the future, to be renamed to --endpoints
) now supports passing any APIs from Thanos gRPC APIs: StoreAPI, MetadataAPI, RulesAPI, TargetsAPI and ExemplarsAPI (in oppose in the past you have to put it in hidden --targets
, --rules
etc flags). --store
will now automatically detect what APIs server exposes.Published by bwplotka about 3 years ago
thanos bucket web
: Add flag --selector.relabel-config-file
/ --selector.relabel-config
/ --max-time
/ --min-time
to filter served blocks.http_config
option for COS object store client.duration_ms
in int64 to the logs for easier log filtering.compact.skip-block-with-out-of-order-chunks
to skip blocks with out-of-order chunks during compaction instead of halting.Baidu BOS
object storage, see documents for further information.thanos_compact_downsample_duration_seconds
histogram metric.processed.series
, processed.samples
, processed.samples
and processed.bytes
. This will give admin idea of how much data each component processes per query.--query-range.downstream-tripper-config
and --query-range.downstream-tripper-config-file
. If your downstream URL is localhost or 127.0.0.1 then it is strongly recommended to bump max_idle_conns_per_host
to at least 100 so that query-frontend
could properly use HTTP keep-alive connections and thus reduce the latency of query-frontend
by about 20%.--store
(in the future, to be renamed to --endpoints
) now supports passing any APIs from Thanos gRPC APIs: StoreAPI, MetadataAPI, RulesAPI, TargetsAPI and ExemplarsAPI (in oppose in the past you have to put it in hidden --targets
, --rules
etc flags). --store
will now automatically detect what APIs server exposes.Published by GiedriusS over 3 years ago
This release contains improvements from 28 authors (git log --pretty="%ae" origin/release-0.21...origin/release-0.22 | sort | uniq | wc -l
)! Thanks to all of them! Thanos wouldn't be what it is without all of their effort and time! β€οΈ
--delete-blocks
to bucket rewrite tool to mark the original blocks for deletion after rewriting is done.downsample.concurrency
to specify the concurrency of downsampling blocks.5m30s
.Published by GiedriusS over 3 years ago
This release contains improvements from 27 authors (git log --pretty="%ae" origin/release-0.21...origin/release-0.22 | sort | uniq | wc -l
)! Thanks to all of them! Thanos wouldn't be what it is without all of their effort and time! β€οΈ
--delete-blocks
to bucket rewrite tool to mark the original blocks for deletion after rewriting is done.downsample.concurrency
to specify the concurrency of downsampling blocks.5m30s
.Published by onprem over 3 years ago
LabelNames
and LabelValues
now support label matchers.LabelValues
Stats param
to return stats for query APIs--alert.relabel-config
/ --alert.relabel-config-file
allowing to specify alert relabel configurations like Prometheus
--rewrite.to-relabel-config
to bucket rewrite tool to support series relabel from given blocks.Published by onprem over 3 years ago
LabelNames
and LabelValues
now support label matchers.LabelValues
Stats param
to return stats for query APIs--alert.relabel-config
/ --alert.relabel-config-file
allowing to specify alert relabel configurations like Prometheus
--rewrite.to-relabel-config
to bucket rewrite tool to support series relabel from given blocks.Published by kakkoyun over 3 years ago
max_item_size
in Query frontend Memcached cache.http_request_duration_seconds
histogram if tracing is enabled.--web.disable-cors
flag in each component that exposes an API.max_item_size
in Query frontend Memcached cache.http_request_duration_seconds
buckets for low latency requests.namespace
by default.Published by kakkoyun over 3 years ago
max_item_size
in Query frontend Memcached cache.http_request_duration_seconds
histogram if tracing is enabled.--web.disable-cors
flag in each component that exposes an API.max_item_size
in Query frontend Memcached cache.http_request_duration_seconds
buckets for low latency requests.namespace
by default.Published by bwplotka over 3 years ago
--block-meta-fetch-concurrency
allowing to configure number of go routines for block metadata synchronization.--query-range.request-downsampled
flag enabling additional queries for downsampled data in case of empty or incomplete response to range request.--tsdb.allow-overlapping-blocks
flag to allow overlapping tsdb blocks and enable vertical compaction.--query.default-step
flag to set default step. Useful when your tenant scrape interval is stable and far from default UI's 1s.--hash-func
. If some function has been specified, writers calculate hashes using that function of each file in a block before uploading them. If those hashes exist in the meta.json
file then Compact does not download the files if they already exist on disk and with the same hash. This also means that the data directory passed to Thanos Compact is only cleared once at boot or if everything succeeds. So, if you, for example, use persistent volumes on k8s and your Thanos Compact crashes or fails to make an iteration properly then the last downloaded files are not wiped from the disk. The directories that were created the last time are only wiped again after a successful iteration or if the previously picked up blocks have disappeared.--store.enable-index-header-lazy-reader
is enabled.--store.enable-index-header-lazy-reader
is enabled.Published by bwplotka over 3 years ago
--block-meta-fetch-concurrency
allowing to configure number of go routines for block metadata synchronization.--query-range.request-downsampled
flag enabling additional queries for downsampled data in case of empty or incomplete response to range request.--tsdb.allow-overlapping-blocks
flag to allow overlapping tsdb blocks and enable vertical compaction.--query.default-step
flag to set default step. Useful when your tenant scrape interval is stable and far from default UI's 1s.--hash-func
. If some function has been specified, writers calculate hashes using that function of each file in a block before uploading them. If those hashes exist in the meta.json
file then Compact does not download the files if they already exist on disk and with the same hash. This also means that the data directory passed to Thanos Compact is only cleared once at boot or if everything succeeds. So, if you, for example, use persistent volumes on k8s and your Thanos Compact crashes or fails to make an iteration properly then the last downloaded files are not wiped from the disk. The directories that were created the last time are only wiped again after a successful iteration or if the previously picked up blocks have disappeared.--store.enable-index-header-lazy-reader
is enabled.--store.enable-index-header-lazy-reader
is enabled.Published by bwplotka over 3 years ago
--block-meta-fetch-concurrency
allowing to configure number of go routines for block metadata synchronization.--query-range.request-downsampled
flag enabling additional queries for downsampled data in case of empty or incomplete response to range request.--tsdb.allow-overlapping-blocks
flag to allow overlapping tsdb blocks and enable vertical compaction.--query.default-step
flag to set default step. Useful when your tenant scrape interval is stable and far from default UI's 1s.--hash-func
. If some function has been specified, writers calculate hashes using that function of each file in a block before uploading them. If those hashes exist in the meta.json
file then Compact does not download the files if they already exist on disk and with the same hash. This also means that the data directory passed to Thanos Compact is only cleared once at boot or if everything succeeds. So, if you, for example, use persistent volumes on k8s and your Thanos Compact crashes or fails to make an iteration properly then the last downloaded files are not wiped from the disk. The directories that were created the last time are only wiped again after a successful iteration or if the previously picked up blocks have disappeared.--store.enable-index-header-lazy-reader
is enabled.--store.enable-index-header-lazy-reader
is enabled.Published by bwplotka over 3 years ago
Published by squat over 3 years ago
thanos tools bucket rewrite
, enabling the deletion of series from given block.labels
and series
API endpoints.thanos tools bucket replicate
can now copy particular blocks by ID.Series
call can now be limited using a CLI flag.hints
field to LabelNamesRequest
and LabelValuesRequest
. Hints are an opaque data structure that can be used to carry additional information from the store and its content is implementation-specific.thanos tools bucket rewrite
command allowing to delete series from given block.--receive.hashrings
alternative to receive.hashrings-file
flag (lower priority). The flag expects the literal hashring configuration in JSON format.thanos_objstore_bucket_operation_failures_total
alert.no such host error
when using dnssrv+
or dnssrvnoa+
.segments/
if the file is bigger than 1GB
.meta.json
file doesn't cause block cleanup anymore. This has a potential to generate corrupted blocks under specific conditions. Partial block is left in bucket for later cleanup.