Skip to content

Commit a3ca74d

Browse files
authored
Prepare release 1.1-rc.0 (#2579)
* Update CHANGELOG.md and VERSION * Record responsible release people. * Add comment about how to prepare release branch. * Remove extra whitespace. Signed-off-by: Peter Štibraný <[email protected]>
1 parent 1ea1d19 commit a3ca74d

File tree

3 files changed

+25
-16
lines changed

3 files changed

+25
-16
lines changed

CHANGELOG.md

+19-14
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
11
# Changelog
22

3-
## master / unreleased
3+
## 1.1.0-rc.0 / 2020-05-13
4+
5+
This release brings the usual mix of bugfixes and improvements. The biggest change is that WAL support for chunks is now considered to be production-ready!
6+
7+
Please make sure to review renamed metrics, and update your dashboards and alerts accordingly.
48

59
* [CHANGE] Added v1 API routes documented in #2327. #2372
610
* Added `-http.alertmanager-http-prefix` flag which allows the configuration of the path where the Alertmanager API and UI can be reached. The default is set to `/alertmanager`.
711
* Added `-http.prometheus-http-prefix` flag which allows the configuration of the path where the Prometheus API and UI can be reached. The default is set to `/prometheus`.
812
* Updated the index hosted at the root prefix to point to the updated routes.
913
* Legacy routes hardcoded with the `/api/prom` prefix now respect the `-http.prefix` flag.
10-
* [CHANGE] The metrics `cortex_distributor_ingester_appends_total` and `distributor_ingester_append_failures_total` now includes a `type` label to differentiate between `samples` and `metadata`. #2336
11-
* [CHANGE] The metrics for number of chunks and bytes flushed to the chunk store are renamed from: #2463
14+
* [CHANGE] The metrics `cortex_distributor_ingester_appends_total` and `distributor_ingester_append_failures_total` now include a `type` label to differentiate between `samples` and `metadata`. #2336
15+
* [CHANGE] The metrics for number of chunks and bytes flushed to the chunk store are renamed. Note that previous metrics were counted pre-deduplication, while new metrics are counted after deduplication. #2463
1216
* `cortex_ingester_chunks_stored_total` > `cortex_chunk_store_stored_chunks_total`
1317
* `cortex_ingester_chunk_stored_bytes_total` > `cortex_chunk_store_stored_chunk_bytes_total`
1418
* [CHANGE] Experimental TSDB: renamed blocks meta fetcher metrics: #2375
@@ -27,17 +31,18 @@
2731
- `cortex_<service>_thanos_objstore_bucket_operation_failures_total` renamed to `thanos_objstore_bucket_operation_failures_total{component="<name>"}`
2832
- `cortex_<service>_thanos_objstore_bucket_operation_duration_seconds` renamed to `thanos_objstore_bucket_operation_duration_seconds{component="<name>"}`
2933
- `cortex_<service>_thanos_objstore_bucket_last_successful_upload_time` renamed to `thanos_objstore_bucket_last_successful_upload_time{component="<name>"}`
34+
* [CHANGE] FIFO cache: The `-<prefix>.fifocache.size` CLI flag has been renamed to `-<prefix>.fifocache.max-size-items` as well as its YAML config option `size` renamed to `max_size_items`. #2319
3035
* [FEATURE] Ruler: The `-ruler.evaluation-delay` flag was added to allow users to configure a default evaluation delay for all rules in cortex. The default value is 0 which is the current behavior. #2423
3136
* [FEATURE] Experimental: Added a new object storage client for OpenStack Swift. #2440
32-
* [FEATURE] Update in dependency `weaveworks/common`. TLS config options added to the Server. #2535
37+
* [FEATURE] TLS config options added to the Server. #2535
3338
* [FEATURE] Experimental: Added support for `/api/v1/metadata` Prometheus-based endpoint. #2549
3439
* [FEATURE] Add ability to limit concurrent queries to Cassandra with `-cassandra.query-concurrency` flag. #2562
3540
* [ENHANCEMENT] Experimental TSDB: sample ingestion errors are now reported via existing `cortex_discarded_samples_total` metric. #2370
3641
* [ENHANCEMENT] Failures on samples at distributors and ingesters return the first validation error as opposed to the last. #2383
3742
* [ENHANCEMENT] Experimental TSDB: Added `cortex_querier_blocks_meta_synced`, which reflects current state of synced blocks over all tenants. #2392
3843
* [ENHANCEMENT] Added `cortex_distributor_latest_seen_sample_timestamp_seconds` metric to see how far behind Prometheus servers are in sending data. #2371
39-
* [ENHANCEMENT] FIFO cache to support eviction based on memory usage. The `-<prefix>.fifocache.size` CLI flag has been renamed to `-<prefix>.fifocache.max-size-items` as well as its YAML config option `size` renamed to `max_size_items`. Added `-<prefix>.fifocache.max-size-bytes` CLI flag and YAML config option `max_size_bytes` to specify memory limit of the cache. #2319, #2527
40-
* [ENHANCEMENT] Added `-querier.worker-match-max-concurrent`. Force worker concurrency to match the `-querier.max-concurrent` option. Overrides `-querier.worker-parallelism`. #2456
44+
* [ENHANCEMENT] FIFO cache to support eviction based on memory usage. Added `-<prefix>.fifocache.max-size-bytes` CLI flag and YAML config option `max_size_bytes` to specify memory limit of the cache. #2319, #2527
45+
* [ENHANCEMENT] Added `-querier.worker-match-max-concurrent`. Force worker concurrency to match the `-querier.max-concurrent` option. Overrides `-querier.worker-parallelism`. #2456
4146
* [ENHANCEMENT] Added the following metrics for monitoring delete requests: #2445
4247
- `cortex_purger_delete_requests_received_total`: Number of delete requests received per user.
4348
- `cortex_purger_delete_requests_processed_total`: Number of delete requests processed per user.
@@ -47,20 +52,20 @@
4752
* [ENHANCEMENT] Allow 1w (where w denotes week) and 1y (where y denotes year) when setting `-store.cache-lookups-older-than` and `-store.max-look-back-period`. #2454
4853
* [ENHANCEMENT] Optimize index queries for matchers using "a|b|c"-type regex. #2446 #2475
4954
* [ENHANCEMENT] Added per tenant metrics for queries and chunks and bytes read from chunk store: #2463
50-
* [ENHANCEMENT] Experimental WAL: New metrics `cortex_ingester_wal_logged_bytes_total` and `cortex_ingester_checkpoint_logged_bytes_total` added to track total bytes logged to disk for WAL and checkpoints. #2497
5155
* `cortex_chunk_store_fetched_chunks_total` and `cortex_chunk_store_fetched_chunk_bytes_total`
5256
* `cortex_query_frontend_queries_total` (per tenant queries counted by the frontend)
57+
* [ENHANCEMENT] WAL: New metrics `cortex_ingester_wal_logged_bytes_total` and `cortex_ingester_checkpoint_logged_bytes_total` added to track total bytes logged to disk for WAL and checkpoints. #2497
5358
* [ENHANCEMENT] Add de-duplicated chunks counter `cortex_chunk_store_deduped_chunks_total` which counts every chunk not sent to the store because it was already sent by another replica. #2485
54-
* [ENHANCEMENT] query-frontend now also logs the POST data of long queries. #2481
55-
* [ENHANCEMENT] Experimental WAL: Ingester WAL records now have type header and the custom WAL records have been replaced by Prometheus TSDB's WAL records. Old records will not be supported from 1.3 onwards. Note: once this is deployed, you cannot downgrade without data loss. #2436
59+
* [ENHANCEMENT] Query-frontend now also logs the POST data of long queries. #2481
60+
* [ENHANCEMENT] WAL: Ingester WAL records now have type header and the custom WAL records have been replaced by Prometheus TSDB's WAL records. Old records will not be supported from 1.3 onwards. Note: once this is deployed, you cannot downgrade without data loss. #2436
5661
* [ENHANCEMENT] Redis Cache: Added `idle_timeout`, `wait_on_pool_exhaustion` and `max_conn_lifetime` options to redis cache configuration. #2550
57-
* [ENHANCEMENT] WAL: the experimental tag has been removed on the WAL in ingesters.
58-
* [BUGFIX] Ruler: Ensure temporary rule files with special characters are properly mapped and cleaned up. #2506
62+
* [ENHANCEMENT] WAL: the experimental tag has been removed on the WAL in ingesters. #2560
5963
* [ENHANCEMENT] Use newer AWS API for paginated queries - removes 'Deprecated' message from logfiles. #2452
60-
* [BUGFIX] Fixes #2411, Ensure requests are properly routed to the prometheus api embedded in the query if `-server.path-prefix` is set. #2372
61-
* [BUGFIX] Experimental TSDB: fixed chunk data corruption when querying back series using the experimental blocks storage. #2400
64+
* [BUGFIX] Ruler: Ensure temporary rule files with special characters are properly mapped and cleaned up. #2506
65+
* [BUGFIX] Ensure requests are properly routed to the prometheus api embedded in the query if `-server.path-prefix` is set. Fixes #2411. #2372
66+
* [BUGFIX] Experimental TSDB: Fixed chunk data corruption when querying back series using the experimental blocks storage. #2400
6267
* [BUGFIX] Cassandra Storage: Fix endpoint TLS host verification. #2109
63-
* [BUGFIX] Experimental TSDB: fixed response status code from `422` to `500` when an error occurs while iterating chunks with the experimental blocks storage. #2402
68+
* [BUGFIX] Experimental TSDB: Fixed response status code from `422` to `500` when an error occurs while iterating chunks with the experimental blocks storage. #2402
6469
* [BUGFIX] Ring: Fixed a situation where upgrading from pre-1.0 cortex with a rolling strategy caused new 1.0 ingesters to lose their zone value in the ring until manually forced to re-register. #2404
6570
* [BUGFIX] Distributor: `/all_user_stats` now show API and Rule Ingest Rate correctly. #2457
6671
* [BUGFIX] Fixed `version`, `revision` and `branch` labels exported by the `cortex_build_info` metric. #2468

RELEASE.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This page describes the release process and the currently planned schedule for u
44

55
## Release schedule
66

7-
Our goal is to provide a new minor release every 4 weeks. This is a new process and everything in this document is subject to change.
7+
Our goal is to provide a new minor release every 6 weeks. This is a new process and everything in this document is subject to change.
88

99
| release series | date of first pre-release (year-month-day) | release shepherd |
1010
|----------------|--------------------------------------------|---------------------------------------------|
@@ -15,6 +15,8 @@ Our goal is to provide a new minor release every 4 weeks. This is a new process
1515
| v0.5.0 | 2020-01-08 | _Abandoned_ |
1616
| v0.6.0 | 2020-01-22 | Marco Pracucci (@pracucci) |
1717
| v0.7.0 | 2020-03-09 | Marco Pracucci (@pracucci) |
18+
| v1.0.0 | 2020-03-31 | Goutham Veeramachaneni (@gouthamve) |
19+
| v1.1.0 | 2020-05-11 | Peter Štibraný (@pstibrany) |
1820

1921
## Release shepherd responsibilities
2022

@@ -45,6 +47,8 @@ Maintaining the release branches for older minor releases happens on a best effo
4547

4648
For a new major or minor release, create the corresponding release branch based on the master branch. For a patch release, work in the branch of the minor release you want to patch.
4749

50+
To prepare release branch, first create new release branch (release-X.Y) in Cortex repository from master commit of your choice, and then do the following steps on a private branch (prepare-release-X.Y) and send PR to merge this private branch to the new release branch (prepare-release-X.Y -> release-X.Y).
51+
4852
0. Make sure you've a GPG key associated to your GitHub account (`git tag` will be signed with that GPG key)
4953
- You can add a GPG key to your GitHub account following [this procedure](https://help.github.com/articles/generating-a-gpg-key/)
5054
1. Update the version number in the `VERSION` file

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.0.1
1+
1.1.0-rc.0

0 commit comments

Comments
 (0)