You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Release 0.5.0-rc0
Signed-off-by: Goutham Veeramachaneni <[email protected]>
* Fix changelog to point to 0.5.0-rc.0
Signed-off-by: Goutham Veeramachaneni <[email protected]>
* Validate incoming labels for order and duplicate names. (#1964)
* Validate incoming labels for order and duplicate names.
Signed-off-by: Peter Štibraný <[email protected]>
* Document that cortex rejects requests with incorrectly ordered or duplicate labels.
Signed-off-by: Peter Štibraný <[email protected]>
* Ignore empty metric name.
{__name__=""} will be shown formatted as {__name__=""} instead of just empty string.
Signed-off-by: Peter Štibraný <[email protected]>
* As we rely on sorted labels, sort them before using them.
Signed-off-by: Peter Štibraný <[email protected]>
* Updated CHANGELOG.md to reflect latest changes to PR.
Signed-off-by: Peter Štibraný <[email protected]>
* Put back redundant aliases.
Signed-off-by: Peter Štibraný <[email protected]>
* wrap migration commands (#1980)
* wrap migration commands
Signed-off-by: Jacob Lisi <[email protected]>
* update changelog
Signed-off-by: Jacob Lisi <[email protected]>
* fix missing semicolon
Signed-off-by: Jacob Lisi <[email protected]>
* Fix typo to make lint pass.
Signed-off-by: Goutham Veeramachaneni <[email protected]>
Co-authored-by: Goutham Veeramachaneni <[email protected]>
* Call out breaking changes better.
Signed-off-by: Goutham Veeramachaneni <[email protected]>
* Label this version as -rc1
Signed-off-by: Goutham Veeramachaneni <[email protected]>
* We're abandoning the `0.5.0` release.
Signed-off-by: Goutham Veeramachaneni <[email protected]>
Co-authored-by: Peter Štibraný <[email protected]>
Co-authored-by: Jacob Lisi <[email protected]>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+21-2Lines changed: 21 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,8 +2,12 @@
2
2
3
3
## master / unreleased
4
4
5
+
Note that the ruler flags need to be changed in this upgrade. You're moving from a single node ruler to something that might need to be sharded.
6
+
If you are running with a high `-ruler.num-workers` and if you're not able to execute all your rules in `-ruler.evaluation-interval`, then you'll need to shard.
7
+
Further, if you're using the configs service, we've upgraded the migration library and this requires some manual intervention. See full
8
+
instructions below to upgrade your Postgres.
9
+
5
10
*[CHANGE] The frontend component now does not cache results if it finds a `Cache-Control` header and if one of its values is `no-store`. #1974
6
-
*[ENHANCEMENT] metric `cortex_ingester_flush_reasons` gets a new `reason` value: `Spread`, when `-ingester.spread-flushes` option is enabled.
7
11
*[CHANGE] Flags changed with transition to upstream Prometheus rules manager:
8
12
*`ruler.client-timeout` is now `ruler.configs.client-timeout` in order to match `ruler.configs.url`
*[CHANGE] Ingesters now write only normalised tokens to the ring, although they can still read denormalised tokens used by other ingesters. `-ingester.normalise-tokens` is now deprecated, and ignored. If you want to switch back to using denormalised tokens, you need to downgrade to Cortex 0.4.0. Previous versions don't handle claiming tokens from normalised ingesters correctly. #1809
17
21
*[CHANGE] Overrides mechanism has been renamed to "runtime config", and is now separate from limits. Runtime config is simply a file that is reloaded by Cortex every couple of seconds. Limits and now also multi KV use this mechanism.<br />New arguments were introduced: `-runtime-config.file` (defaults to empty) and `-runtime-config.reload-period` (defaults to 10 seconds), which replace previously used `-limits.per-user-override-config` and `-limits.per-user-override-period` options. Old options are still used if `-runtime-config.file` is not specified. This change is also reflected in YAML configuration, where old `limits.per_tenant_override_config` and `limits.per_tenant_override_period` fields are replaced with `runtime_config.file` and `runtime_config.period` respectively. #1749
22
+
*[CHANGE] Cortex now rejects data with duplicate labels. Previously, such data was accepted, with duplicate labels removed with only one value left. #1964
18
23
*[CHANGE] Changed the default value for `-distributor.ha-tracker.prefix` from `collectors/` to `ha-tracker/` in order to not clash with other keys (ie. ring) stored in the same key-value store. #1940
19
24
*[FEATURE] The distributor can now drop labels from samples (similar to the removal of the replica label for HA ingestion) per user via the `distributor.drop-label` flag. #1726
20
25
*[FEATURE] Added flag `debug.mutex-profile-fraction` to enable mutex profiling #1969
@@ -23,11 +28,13 @@
23
28
*[FEATURE] Added readiness probe endpoint`/ready` to queriers. #1934
24
29
*[FEATURE] EXPERIMENTAL: Added `/series` API endpoint support with TSDB blocks storage. #1830
25
30
*[FEATURE] Added "multi" KV store that can interact with two other KV stores, primary one for all reads and writes, and secondary one, which only receives writes. Primary/secondary store can be modified in runtime via runtime-config mechanism (previously "overrides"). #1749
26
-
*[ENHANCEMENT] Added `password` and `enable_tls` options to redis cache configuration. Enables usage of Microsoft Azure Cache for Redis service.
31
+
*[ENHANCEMENT] metric `cortex_ingester_flush_reasons` gets a new `reason` value: `Spread`, when `-ingester.spread-flushes` option is enabled. #1978
32
+
*[ENHANCEMENT] Added `password` and `enable_tls` options to redis cache configuration. Enables usage of Microsoft Azure Cache for Redis service. #1923
27
33
*[ENHANCEMENT] Experimental TSDB: Open existing TSDB on startup to prevent ingester from becoming ready before it can accept writes. #1917
*[BUGFIX] Fixed unnecessary CAS operations done by the HA tracker when the jitter is enabled. #1861
30
36
*[BUGFIX] Fixed #1904 ingesters getting stuck in a LEAVING state after coming up from an ungraceful exit. #1921
37
+
*[BUGFIX] Reduce memory usage when ingester Push() errors. #1922
31
38
*[BUGFIX] TSDB: Fixed handling of out of order/bound samples in ingesters with the experimental TSDB blocks storage. #1864
32
39
*[BUGFIX] TSDB: Fixed querying ingesters in `LEAVING` state with the experimental TSDB blocks storage. #1854
33
40
*[BUGFIX] TSDB: Fixed error handling in the series to chunks conversion with the experimental TSDB blocks storage. #1837
@@ -36,6 +43,18 @@
36
43
*[BUGFIX] TSDB: Fixed `cortex_ingester_queried_samples` and `cortex_ingester_queried_series` metrics when using block storage. #1981
37
44
*[BUGFIX] TSDB: Fixed `cortex_ingester_memory_series` and `cortex_ingester_memory_users` metrics when using with the experimental TSDB blocks storage. #1982
38
45
46
+
### Upgrading Postgres (if you're using configs service)
1. Install the migrate package cli tool: https://github.com/golang-migrate/migrate/tree/master/cmd/migrate#installation
51
+
2. Drop the `schema_migrations` table: `DROP TABLE schema_migrations;`.
52
+
2. Run the migrate command:
53
+
54
+
```bash
55
+
migrate -path <absolute_path_to_cortex>/cmd/cortex/migrations -database postgres://localhost:5432/database force 2
56
+
```
57
+
39
58
## 0.4.0 / 2019-12-02
40
59
41
60
*[CHANGE] The frontend component has been refactored to be easier to re-use. When upgrading the frontend, cache entries will be discarded and re-created with the new protobuf schema. #1734
0 commit comments