Skip to content

Commit

Permalink
CHANGELOG: update for 0.22.0-rc.0 (#4436)
Browse files Browse the repository at this point in the history
* CHANGELOG: update for 0.22.0-rc.0

Update CHANGELOG & tutorials for the 0.22.0-rc.0. I haven't spotted any
metrics changes or any incompatibilities.

Signed-off-by: Giedrius Statkevičius <[email protected]>

* VERSION: update for 0.22.0-rc.0

Signed-off-by: Giedrius Statkevičius <[email protected]>

* CHANGELOG: fix according to Bartek's comments

Signed-off-by: Giedrius Statkevičius <[email protected]>
  • Loading branch information
GiedriusS authored Jul 13, 2021
1 parent 4ae4612 commit e81ba4e
Show file tree
Hide file tree
Showing 21 changed files with 49 additions and 43 deletions.
10 changes: 8 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ NOTE: As semantic versioning states all 0.y.z releases can contain breaking chan

We use *breaking :warning:* to mark changes that are not backward compatible (relates only to v0.y.z releases.)

## Unreleased
## [v0.22.0](https://github.com/thanos-io/thanos/tree/release-0.22)

### Added

Expand All @@ -22,17 +22,23 @@ We use *breaking :warning:* to mark changes that are not backward compatible (re
- [#3970](https://github.com/thanos-io/thanos/pull/3970) Azure: Adds more configuration options for Azure blob storage. This allows for pipeline and reader specific configuration. Implements HTTP transport configuration options. These options allows for more fine-grained control on timeouts and retries. Implements MSI authentication as second method of authentication via a service principal token.
- [#4406](https://github.com/thanos-io/thanos/pull/4406) Tools: Add retention command for applying retention policy on the bucket.
- [#4430](https://github.com/thanos-io/thanos/pull/4430) Compact: Add flag `downsample.concurrency` to specify the concurrency of downsampling blocks.
- [#4231](https://github.com/thanos-io/thanos/pull/4231) Receive: Implemented the [receive dual-mode](https://github.com/thanos-io/thanos/blob/release-0.22/docs/proposals-accepted/202012-receive-split.md). This means that it is now you can run receive as ingester (TSDB only, no hashring awareness), as router (no TSDB, only forwarding mode) and old mode (router + ingester) in one service. Consider splitting functionality if you want to scale your hashring into multiple rings or you want horizontally autoscale your ingester more often.
- [#3678](https://github.com/thanos-io/thanos/pull/3678) UI: add support for new duration format in graph range input. Now it is possible to use composite durations such as `5m30s`.

### Fixed

- [#4384](https://github.com/thanos-io/thanos/pull/4384) Fix the experimental PromQL editor when used on multiple line.
- [#4342](https://github.com/thanos-io/thanos/pull/4342) ThanosSidecarUnhealthy doesn't fire if the sidecar is never healthy
- [#4388](https://github.com/thanos-io/thanos/pull/4388) Receive: fix bug in forwarding remote-write requests within the hashring via gRPC when TLS is enabled on the HTTP server but not on the gRPC server.
- [#4340](https://github.com/thanos-io/thanos/pull/4340) UI: now displays the duration and all annotations of an alert in the alerts page.
- [#4348](https://github.com/thanos-io/thanos/pull/4348) Fixed parsing of the port in the log middleware.
- [#4417](https://github.com/thanos-io/thanos/pull/4417) UI: fixed the night mode in Bucket UI.

### Changed

- [#4354](https://github.com/thanos-io/thanos/pull/4354) Receive: use the S2 library for decoding Snappy data; saves about 5-7% of CPU time in the Receive component when handling incoming remote write requests
- [#4369](https://github.com/thanos-io/thanos/pull/4354) Build: do not upgrade apline version
- [#4369](https://github.com/thanos-io/thanos/pull/4354) Build: Pin upgrade Alpine's version.
- [#4404](https://github.com/thanos-io/thanos/pull/4404) Receive: added extra validation for the tenant's label name. Some unsupported formats could have passed before.

## [v0.21.1](https://github.com/thanos-io/thanos/releases/tag/v0.21.1) - 2021.06.04

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.22.0-dev
0.22.0-rc.0
2 changes: 1 addition & 1 deletion tutorials/katacoda/thanos/1-globalview/courseBase.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash

docker pull quay.io/prometheus/prometheus:v2.16.0
docker pull quay.io/thanos/thanos:v0.21.1
docker pull quay.io/thanos/thanos:v0.22.0-rc.0
8 changes: 4 additions & 4 deletions tutorials/katacoda/thanos/1-globalview/step2.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ component and can be invoked in a single command.
Let's take a look at all the Thanos commands:

```
docker run --rm quay.io/thanos/thanos:v0.21.1 --help
docker run --rm quay.io/thanos/thanos:v0.22.0-rc.0 --help
```{{execute}}
You should see multiple commands that solves different purposes.
Expand Down Expand Up @@ -53,7 +53,7 @@ docker run -d --net=host --rm \
-v $(pwd)/prometheus0_eu1.yml:/etc/prometheus/prometheus.yml \
--name prometheus-0-sidecar-eu1 \
-u root \
quay.io/thanos/thanos:v0.21.1 \
quay.io/thanos/thanos:v0.22.0-rc.0 \
sidecar \
--http-address 0.0.0.0:19090 \
--grpc-address 0.0.0.0:19190 \
Expand All @@ -68,7 +68,7 @@ docker run -d --net=host --rm \
-v $(pwd)/prometheus0_us1.yml:/etc/prometheus/prometheus.yml \
--name prometheus-0-sidecar-us1 \
-u root \
quay.io/thanos/thanos:v0.21.1 \
quay.io/thanos/thanos:v0.22.0-rc.0 \
sidecar \
--http-address 0.0.0.0:19091 \
--grpc-address 0.0.0.0:19191 \
Expand All @@ -81,7 +81,7 @@ docker run -d --net=host --rm \
-v $(pwd)/prometheus1_us1.yml:/etc/prometheus/prometheus.yml \
--name prometheus-1-sidecar-us1 \
-u root \
quay.io/thanos/thanos:v0.21.1 \
quay.io/thanos/thanos:v0.22.0-rc.0 \
sidecar \
--http-address 0.0.0.0:19092 \
--grpc-address 0.0.0.0:19192 \
Expand Down
2 changes: 1 addition & 1 deletion tutorials/katacoda/thanos/1-globalview/step3.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Click below snippet to start the Querier.
```
docker run -d --net=host --rm \
--name querier \
quay.io/thanos/thanos:v0.21.1 \
quay.io/thanos/thanos:v0.22.0-rc.0 \
query \
--http-address 0.0.0.0:29090 \
--query.replica-label replica \
Expand Down
2 changes: 1 addition & 1 deletion tutorials/katacoda/thanos/2-lts/courseBase.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

docker pull minio/minio:RELEASE.2019-01-31T00-31-19Z
docker pull quay.io/prometheus/prometheus:v2.20.0
docker pull quay.io/thanos/thanos:v0.21.1
docker pull quay.io/thanos/thanos:v0.22.0-rc.0
docker pull quay.io/thanos/thanosbench:v0.2.0-rc.1

mkdir /root/editor
4 changes: 2 additions & 2 deletions tutorials/katacoda/thanos/2-lts/step1.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ Similar to previous course, let's setup global view querying with sidecar:
docker run -d --net=host --rm \
--name prometheus-0-eu1-sidecar \
-u root \
quay.io/thanos/thanos:v0.21.1 \
quay.io/thanos/thanos:v0.22.0-rc.0 \
sidecar \
--http-address 0.0.0.0:19090 \
--grpc-address 0.0.0.0:19190 \
Expand All @@ -130,7 +130,7 @@ so we will make sure we point the Querier to the gRPC endpoints of the sidecar:
```
docker run -d --net=host --rm \
--name querier \
quay.io/thanos/thanos:v0.21.1 \
quay.io/thanos/thanos:v0.22.0-rc.0 \
query \
--http-address 0.0.0.0:9091 \
--query.replica-label replica \
Expand Down
2 changes: 1 addition & 1 deletion tutorials/katacoda/thanos/2-lts/step2.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ docker run -d --net=host --rm \
-v /root/prom-eu1:/prometheus \
--name prometheus-0-eu1-sidecar \
-u root \
quay.io/thanos/thanos:v0.21.1 \
quay.io/thanos/thanos:v0.22.0-rc.0 \
sidecar \
--tsdb.path /prometheus \
--objstore.config-file /etc/thanos/minio-bucket.yaml \
Expand Down
6 changes: 3 additions & 3 deletions tutorials/katacoda/thanos/2-lts/step3.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ In this step, we will learn about Thanos Store Gateway and how to deploy it.

Let's take a look at all the Thanos commands:

```docker run --rm quay.io/thanos/thanos:v0.21.1 --help```{{execute}}
```docker run --rm quay.io/thanos/thanos:v0.22.0-rc.0 --help```{{execute}}

You should see multiple commands that solve different purposes, block storage based long-term storage for Prometheus.

Expand All @@ -32,7 +32,7 @@ You can read more about [Store](https://thanos.io/tip/components/store.md/) here
docker run -d --net=host --rm \
-v /root/editor/bucket_storage.yaml:/etc/thanos/minio-bucket.yaml \
--name store-gateway \
quay.io/thanos/thanos:v0.21.1 \
quay.io/thanos/thanos:v0.22.0-rc.0 \
store \
--objstore.config-file /etc/thanos/minio-bucket.yaml \
--http-address 0.0.0.0:19091 \
Expand All @@ -49,7 +49,7 @@ Currently querier does not know about store yet. Let's change it by adding Store
docker stop querier && \
docker run -d --net=host --rm \
--name querier \
quay.io/thanos/thanos:v0.21.1 \
quay.io/thanos/thanos:v0.22.0-rc.0 \
query \
--http-address 0.0.0.0:9091 \
--query.replica-label replica \
Expand Down
2 changes: 1 addition & 1 deletion tutorials/katacoda/thanos/2-lts/step4.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Click below snippet to start the Compactor.
docker run -d --net=host --rm \
-v /root/editor/bucket_storage.yaml:/etc/thanos/minio-bucket.yaml \
--name thanos-compact \
quay.io/thanos/thanos:v0.21.1 \
quay.io/thanos/thanos:v0.22.0-rc.0 \
compact \
--wait --wait-interval 30s \
--consistency-delay 0s \
Expand Down
2 changes: 1 addition & 1 deletion tutorials/katacoda/thanos/3-receiver/courseBase.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

docker pull quay.io/prometheus/prometheus:v2.27.0
docker pull quay.io/thanos/thanos:v0.21.0
docker pull quay.io/thanos/thanos:v0.22.0-rc.0

mkdir /root/editor
4 changes: 2 additions & 2 deletions tutorials/katacoda/thanos/3-receiver/step2.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ docker run -d --rm \
-v $(pwd)/receive-data:/receive/data \
--net=host \
--name receive \
quay.io/thanos/thanos:v0.21.0 \
quay.io/thanos/thanos:v0.22.0-rc.0 \
receive \
--tsdb.path "/receive/data" \
--grpc-address 127.0.0.1:10907 \
Expand Down Expand Up @@ -76,7 +76,7 @@ Next, let us run a `Thanos Query` instance:
docker run -d --rm \
--net=host \
--name query \
quay.io/thanos/thanos:v0.21.0 \
quay.io/thanos/thanos:v0.22.0-rc.0 \
query \
--http-address "0.0.0.0:39090" \
--store "127.0.0.1:10907"
Expand Down
2 changes: 1 addition & 1 deletion tutorials/katacoda/thanos/6-query-caching/courseBase.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash

docker pull quay.io/prometheus/prometheus:v2.22.2
docker pull quay.io/thanos/thanos:v0.21.1
docker pull quay.io/thanos/thanos:v0.22.0-rc.0
docker pull yannrobert/docker-nginx
4 changes: 2 additions & 2 deletions tutorials/katacoda/thanos/6-query-caching/step1.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ docker run -d --net=host --rm \
-v $(pwd)/prometheus"${i}".yml:/etc/prometheus/prometheus.yml \
--name prometheus-sidecar"${i}" \
-u root \
quay.io/thanos/thanos:v0.21.1 \
quay.io/thanos/thanos:v0.22.0-rc.0 \
sidecar \
--http-address=0.0.0.0:1909"${i}" \
--grpc-address=0.0.0.0:1919"${i}" \
Expand All @@ -129,7 +129,7 @@ And now, let's deploy Thanos Querier to have a global overview on our services.
```
docker run -d --net=host --rm \
--name querier \
quay.io/thanos/thanos:v0.21.1 \
quay.io/thanos/thanos:v0.22.0-rc.0 \
query \
--http-address 0.0.0.0:10912 \
--grpc-address 0.0.0.0:10901 \
Expand Down
2 changes: 1 addition & 1 deletion tutorials/katacoda/thanos/6-query-caching/step2.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ And deploy Query Frontend:
docker run -d --net=host --rm \
-v $(pwd)/frontend.yml:/etc/thanos/frontend.yml \
--name query-frontend \
quay.io/thanos/thanos:v0.21.1 \
quay.io/thanos/thanos:v0.22.0-rc.0 \
query-frontend \
--http-address 0.0.0.0:20902 \
--query-frontend.compress-responses \
Expand Down
2 changes: 1 addition & 1 deletion tutorials/katacoda/thanos/7-multi-tenancy/courseBase.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash

docker pull quay.io/prometheus/prometheus:v2.20.0
docker pull quay.io/thanos/thanos:v0.21.1
docker pull quay.io/thanos/thanos:v0.22.0-rc.0
docker pull quay.io/thanos/prom-label-proxy:v0.3.0-rc.0-ext1
docker pull caddy:2.2.1

Expand Down
10 changes: 5 additions & 5 deletions tutorials/katacoda/thanos/7-multi-tenancy/step1.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ docker run -d --net=host --rm \
-v $(pwd)/editor/prometheus0_fruit.yml:/etc/prometheus/prometheus.yml \
--name prometheus-0-sidecar-fruit \
-u root \
quay.io/thanos/thanos:v0.21.1 \
quay.io/thanos/thanos:v0.22.0-rc.0 \
sidecar \
--http-address 0.0.0.0:19090 \
--grpc-address 0.0.0.0:19190 \
Expand Down Expand Up @@ -120,7 +120,7 @@ docker run -d --net=host --rm \
-v $(pwd)/editor/prometheus0_veggie.yml:/etc/prometheus/prometheus.yml \
--name prometheus-0-sidecar-veggie \
-u root \
quay.io/thanos/thanos:v0.21.1 \
quay.io/thanos/thanos:v0.22.0-rc.0 \
sidecar \
--http-address 0.0.0.0:19091 \
--grpc-address 0.0.0.0:19191 \
Expand Down Expand Up @@ -152,7 +152,7 @@ docker run -d --net=host --rm \
-v $(pwd)/editor/prometheus1_veggie.yml:/etc/prometheus/prometheus.yml \
--name prometheus-01-sidecar-veggie \
-u root \
quay.io/thanos/thanos:v0.21.1 \
quay.io/thanos/thanos:v0.22.0-rc.0 \
sidecar \
--http-address 0.0.0.0:19092 \
--grpc-address 0.0.0.0:19192 \
Expand All @@ -170,7 +170,7 @@ Fruit:
```
docker run -d --net=host --rm \
--name querier-fruit \
quay.io/thanos/thanos:v0.21.1 \
quay.io/thanos/thanos:v0.22.0-rc.0 \
query \
--http-address 0.0.0.0:29091 \
--grpc-address 0.0.0.0:29191 \
Expand All @@ -183,7 +183,7 @@ Veggie:
```
docker run -d --net=host --rm \
--name querier-veggie \
quay.io/thanos/thanos:v0.21.1 \
quay.io/thanos/thanos:v0.22.0-rc.0 \
query \
--http-address 0.0.0.0:29092 \
--grpc-address 0.0.0.0:29192 \
Expand Down
2 changes: 1 addition & 1 deletion tutorials/katacoda/thanos/7-multi-tenancy/step2.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ docker stop querier-fruit && docker stop querier-veggie
```
docker run -d --net=host --rm \
--name querier-multi \
quay.io/thanos/thanos:v0.21.1 \
quay.io/thanos/thanos:v0.22.0-rc.0 \
query \
--http-address 0.0.0.0:29090 \
--grpc-address 0.0.0.0:29190 \
Expand Down
2 changes: 1 addition & 1 deletion tutorials/katacoda/thanos/x-playground/courseBase.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash

docker pull quay.io/prometheus/prometheus:v2.20.0
docker pull quay.io/thanos/thanos:v0.21.1
docker pull quay.io/thanos/thanos:v0.22.0-rc.0
docker pull quay.io/thanos/thanosbench:v0.2.0-rc.1
docker pull minio/minio:RELEASE.2019-01-31T00-31-19Z

Expand Down
10 changes: 5 additions & 5 deletions tutorials/katacoda/thanos/x-playground/step1.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ docker run -d --net=host --rm \
### Step1: Sidecar
```
docker run -it --rm quay.io/thanos/thanos:v0.21.1 --help
docker run -it --rm quay.io/thanos/thanos:v0.22.0-rc.0 --help
```{{execute}}
Expand All @@ -180,7 +180,7 @@ docker run -d --net=host --rm \
-v ${CURR_DIR}/prom-eu1-replica0-config.yaml:/etc/prometheus/prometheus.yml \
--name prom-eu1-0-sidecar \
-u root \
quay.io/thanos/thanos:v0.21.1 \
quay.io/thanos/thanos:v0.22.0-rc.0 \
sidecar \
--http-address 0.0.0.0:19091 \
--grpc-address 0.0.0.0:19191 \
Expand All @@ -195,7 +195,7 @@ docker run -d --net=host --rm \
-v ${CURR_DIR}/prom-eu1-replica1-config.yaml:/etc/prometheus/prometheus.yml \
--name prom-eu1-1-sidecar \
-u root \
quay.io/thanos/thanos:v0.21.1 \
quay.io/thanos/thanos:v0.22.0-rc.0 \
sidecar \
--http-address 0.0.0.0:19092 \
--grpc-address 0.0.0.0:19192 \
Expand All @@ -210,7 +210,7 @@ docker run -d --net=host --rm \
-v ${CURR_DIR}/prom-us1-replica0-config.yaml:/etc/prometheus/prometheus.yml \
--name prom-us1-0-sidecar \
-u root \
quay.io/thanos/thanos:v0.21.1 \
quay.io/thanos/thanos:v0.22.0-rc.0 \
sidecar \
--http-address 0.0.0.0:19093 \
--grpc-address 0.0.0.0:19193 \
Expand All @@ -223,7 +223,7 @@ docker run -d --net=host --rm \
```
docker run -d --net=host --rm \
--name querier \
quay.io/thanos/thanos:v0.21.1 \
quay.io/thanos/thanos:v0.22.0-rc.0 \
query \
--http-address 0.0.0.0:9090 \
--grpc-address 0.0.0.0:19190 \
Expand Down
12 changes: 6 additions & 6 deletions tutorials/katacoda/thanos/x-playground/step2.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ docker run -d --net=host --rm \
-v ${CURR_DIR}/prom-eu1-replica0:/prometheus \
--name prom-eu1-0-sidecar \
-u root \
quay.io/thanos/thanos:v0.21.1 \
quay.io/thanos/thanos:v0.22.0-rc.0 \
sidecar \
--tsdb.path /prometheus \
--objstore.config-file /etc/thanos/minio-bucket.yaml \
Expand All @@ -85,7 +85,7 @@ docker run -d --net=host --rm \
-v ${CURR_DIR}/prom-eu1-replica1:/prometheus \
--name prom-eu1-1-sidecar \
-u root \
quay.io/thanos/thanos:v0.21.1 \
quay.io/thanos/thanos:v0.22.0-rc.0 \
sidecar \
--tsdb.path /prometheus \
--objstore.config-file /etc/thanos/minio-bucket.yaml \
Expand All @@ -105,7 +105,7 @@ docker run -d --net=host --rm \
-v ${CURR_DIR}/prom-us1-replica0:/prometheus \
--name prom-us1-0-sidecar \
-u root \
quay.io/thanos/thanos:v0.21.1 \
quay.io/thanos/thanos:v0.22.0-rc.0 \
sidecar \
--tsdb.path /prometheus \
--objstore.config-file /etc/thanos/minio-bucket.yaml \
Expand All @@ -130,7 +130,7 @@ Let's run Store Gateway server:
docker run -d --net=host --rm \
-v ${CURR_DIR}/minio-bucket.yaml:/etc/thanos/minio-bucket.yaml \
--name store-gateway \
quay.io/thanos/thanos:v0.21.1 \
quay.io/thanos/thanos:v0.22.0-rc.0 \
store \
--objstore.config-file /etc/thanos/minio-bucket.yaml \
--http-address 0.0.0.0:19094 \
Expand All @@ -143,7 +143,7 @@ docker run -d --net=host --rm \
docker stop querier && \
docker run -d --net=host --rm \
--name querier \
quay.io/thanos/thanos:v0.21.1 \
quay.io/thanos/thanos:v0.22.0-rc.0 \
query \
--http-address 0.0.0.0:9090 \
--grpc-address 0.0.0.0:19190 \
Expand All @@ -162,7 +162,7 @@ Visit https://[[HOST_SUBDOMAIN]]-9090-[[KATACODA_HOST]].environments.katacoda.co
docker run -d --net=host --rm \
-v ${CURR_DIR}/minio-bucket.yaml:/etc/thanos/minio-bucket.yaml \
--name compactor \
quay.io/thanos/thanos:v0.21.1 \
quay.io/thanos/thanos:v0.22.0-rc.0 \
compact \
--wait --wait-interval 30s \
--consistency-delay 0s \
Expand Down

0 comments on commit e81ba4e

Please sign in to comment.