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
Copy file name to clipboardExpand all lines: CHANGELOG.md
+2
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,8 @@
2
2
3
3
## master / unreleased
4
4
5
+
*[CHANGE] Cortex chunks storage has been deprecated and it's now in maintenance mode: all Cortex users are encouraged to migrate to the blocks storage. No new features will be added to the chunks storage. The default Cortex configuration still runs the chunks engine; please check out the [blocks storage doc](https://cortexmetrics.io/docs/blocks-storage/) on how to configure Cortex to run with the blocks storage. #4268
6
+
*[CHANGE] The example Kubernetes manifests (stored at `k8s/`) have been removed due to a lack of proper support and maintenance. #4268
5
7
*[CHANGE] Querier / ruler: deprecated `-store.query-chunk-limit` CLI flag (and its respective YAML config option `max_chunks_per_query`) in favour of `-querier.max-fetched-chunks-per-query` (and its respective YAML config option `max_fetched_chunks_per_query`). The new limit specifies the maximum number of chunks that can be fetched in a single query from ingesters and long-term storage: the total number of actual fetched chunks could be 2x the limit, being independently applied when querying ingesters and long-term storage. #4125
6
8
*[CHANGE] Alertmanager: allowed to configure the experimental receivers firewall on a per-tenant basis. The following CLI flags (and their respective YAML config options) have been changed and moved to the limits config section: #4143
7
9
-`-alertmanager.receivers-firewall.block.cidr-networks` renamed to `-alertmanager.receivers-firewall-block-cidr-networks`
Copy file name to clipboardExpand all lines: README.md
+3-4
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ Cortex provides horizontally scalable, highly available, multi-tenant, long term
14
14
-**Highly available:** When run in a cluster, Cortex can replicate data between machines. This allows you to survive machine failure without gaps in your graphs.
15
15
-**Multi-tenant:** Cortex can isolate data and queries from multiple different independent
16
16
Prometheus sources in a single cluster, allowing untrusted parties to share the same cluster.
17
-
-**Long term storage:** Cortex supports Amazon DynamoDB, Google Bigtable, Cassandra, S3, GCSand Microsoft Azure for long term storage of metric data. This allows you to durably store data for longer than the lifetime of any single machine, and use this data for long term capacity planning.
17
+
-**Long term storage:** Cortex supports S3, GCS, Swift and Microsoft Azure for long term storage of metric data. This allows you to durably store data for longer than the lifetime of any single machine, and use this data for long term capacity planning.
18
18
19
19
Cortex is a [CNCF](https://cncf.io) incubation project used in several production systems including [Weave Cloud](https://cloud.weave.works) and [Grafana Cloud](https://grafana.com/cloud).
20
20
Cortex is primarily used as a [remote write](https://prometheus.io/docs/operating/configuration/#remote_write) destination for Prometheus, with a Prometheus-compatible query API.
@@ -25,9 +25,8 @@ Read the [getting started guide](https://cortexmetrics.io/docs/getting-started)
25
25
project. Before deploying Cortex with a permanent storage backend you
26
26
should read:
27
27
1.[An overview of Cortex's architecture](https://cortexmetrics.io/docs/architecture/)
28
-
1.[A guide to running Cortex](https://cortexmetrics.io/docs/chunks-storage/running-chunks-storage-in-production/)
Copy file name to clipboardExpand all lines: docs/_index.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ Cortex provides horizontally scalable, highly available, multi-tenant, long term
21
21
-**Highly available:** When run in a cluster, Cortex can replicate data between machines. This allows you to survive machine failure without gaps in your graphs.
22
22
-**Multi-tenant:** Cortex can isolate data and queries from multiple different independent
23
23
Prometheus sources in a single cluster, allowing untrusted parties to share the same cluster.
24
-
-**Long term storage:** Cortex supports Amazon DynamoDB, Google Bigtable, Cassandra, S3 and GCS for long term storage of metric data. This allows you to durably store data for longer than the lifetime of any single machine, and use this data for long term capacity planning.
24
+
-**Long term storage:** Cortex supports S3, GCS, Swift and Microsoft Azure for long term storage of metric data. This allows you to durably store data for longer than the lifetime of any single machine, and use this data for long term capacity planning.
25
25
26
26
Cortex is a [CNCF](https://cncf.io) incubation project used in several production systems including [Weave Cloud](https://cloud.weave.works) and [Grafana Cloud](https://grafana.com/cloud).
27
27
Cortex is primarily used as a [remote write](https://prometheus.io/docs/operating/configuration/#remote_write) destination for Prometheus, exposing a Prometheus-compatible query API.
@@ -33,7 +33,7 @@ project. Before deploying Cortex with a permanent storage backend you
33
33
should read:
34
34
35
35
1.[An overview of Cortex's architecture](architecture.md)
36
-
1.[A guide to running Cortex chunks storage](chunks-storage/running-chunks-storage-in-production.md)
36
+
1.[Getting started with Cortex](getting-started/_index.md)
Copy file name to clipboardExpand all lines: docs/architecture.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -21,12 +21,12 @@ Incoming samples (writes from Prometheus) are handled by the [distributor](#dist
21
21
22
22
Cortex currently supports two storage engines to store and query the time series:
23
23
24
-
- Chunks (default)
24
+
- Chunks (deprecated)
25
25
- Blocks
26
26
27
27
The two engines mostly share the same Cortex architecture with few differences outlined in the rest of the document.
28
28
29
-
### Chunks storage (default)
29
+
### Chunks storage (deprecated)
30
30
31
31
The chunks storage stores each single time series into a separate object called _Chunk_. Each Chunk contains the samples for a given period (defaults to 12 hours). Chunks are then indexed by time range and labels, in order to provide a fast lookup across many (over millions) Chunks.
Copy file name to clipboardExpand all lines: docs/chunks-storage/_index.md
+4-2
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,12 @@
1
1
---
2
-
title: "Chunks Storage"
3
-
linkTitle: "Chunks Storage"
2
+
title: "Chunks Storage (deprecated)"
3
+
linkTitle: "Chunks Storage (deprecated)"
4
4
weight: 4
5
5
menu:
6
6
---
7
7
8
+
**Warning: the chunks storage is deprecated. You're encouraged to use the [blocks storage](../blocks-storage/_index.md).**
9
+
8
10
The chunks storage is a Cortex storage engine which stores each single time series into a separate object called _chunk_. Each chunk contains the samples for a given period (defaults to 12 hours). Chunks are then indexed by time range and labels, in order to provide a fast lookup across many (over millions) chunks. For this reason, the Cortex chunks storage requires two backend storages: a key-value store for the index and an object store for the chunks.
9
11
10
12
The supported backends for the **index store** are:
Copy file name to clipboardExpand all lines: docs/chunks-storage/ingesters-with-wal.md
+2
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,8 @@ weight: 5
5
5
slug: ingesters-with-wal
6
6
---
7
7
8
+
**Warning: the chunks storage is deprecated. You're encouraged to use the [blocks storage](../blocks-storage/_index.md).**
9
+
8
10
By default, ingesters running with the chunks storage, store all their data in memory. If there is a crash, there could be loss of data. The Write-Ahead Log (WAL) helps fill this gap in reliability.
9
11
10
12
To use WAL, there are some changes that needs to be made in the deployment.
Copy file name to clipboardExpand all lines: docs/chunks-storage/running-chunks-storage-in-production.md
+2
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,8 @@ weight: 1
5
5
slug: running-chunks-storage-in-production
6
6
---
7
7
8
+
**Warning: the chunks storage is deprecated. You're encouraged to use the [blocks storage](../blocks-storage/_index.md).**
9
+
8
10
This document builds on the [getting started guide](../getting-started/_index.md) and specifies the steps needed to get Cortex [**chunks storage**](../chunks-storage/_index.md) into production.
9
11
Ensure you have completed all the steps in the [getting started guide](../getting-started/_index.md) and read about [the Cortex architecture](../architecture.md) before you start this one.
Copy file name to clipboardExpand all lines: docs/chunks-storage/running-chunks-storage-with-cassandra.md
+2
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,8 @@ weight: 2
5
5
slug: running-chunks-storage-with-cassandra
6
6
---
7
7
8
+
**Warning: the chunks storage is deprecated. You're encouraged to use the [blocks storage](../blocks-storage/_index.md).**
9
+
8
10
This guide covers how to run a single local Cortex instance - with the [**chunks storage**](../chunks-storage/_index.md) engine - storing time series chunks and index in Cassandra.
Copy file name to clipboardExpand all lines: docs/chunks-storage/schema-config.md
+2
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,8 @@ weight: 2
5
5
slug: schema-configuration
6
6
---
7
7
8
+
**Warning: the chunks storage is deprecated. You're encouraged to use the [blocks storage](../blocks-storage/_index.md).**
9
+
8
10
Cortex chunks storage stores indexes and chunks in table-based data storages. When such a storage type is used, multiple tables are created over the time: each table - also called periodic table - contains the data for a specific time range. The table-based storage layout is configured through a configuration file called **schema config**.
9
11
10
12
_The schema config is used only by the chunks storage, while it's **not** used by the [blocks storage](../blocks-storage/_index.md) engine._
Copy file name to clipboardExpand all lines: docs/chunks-storage/table-manager.md
+2
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,8 @@ weight: 3
5
5
slug: table-manager
6
6
---
7
7
8
+
**Warning: the chunks storage is deprecated. You're encouraged to use the [blocks storage](../blocks-storage/_index.md).**
9
+
8
10
The table-manager is the Cortex service responsible for creating the [periodic tables](./schema-config.md) used to store index and chunks, and deleting them once their data time range exceeds the retention period (if retention is enabled).
9
11
10
12
_For more information about the schema config and periodic tables, please refer to the [Schema config](./schema-config.md) documentation._
Copy file name to clipboardExpand all lines: docs/configuration/arguments.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ Duration arguments should be specified with a unit like `5s` or `3h`. Valid time
20
20
21
21
-`-querier.query-parallelism`
22
22
23
-
This refers to database queries against the store (e.g. Bigtable or DynamoDB). This is the max subqueries run in parallel per higher-level query.
23
+
This refers to database queries against the store when running the deprecated Cortex chunks storage (e.g. Bigtable or DynamoDB). This is the max subqueries run in parallel per higher-level query.
Copy file name to clipboardExpand all lines: docs/guides/deleting-series.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ weight: 10
5
5
slug: deleting-series
6
6
---
7
7
8
-
_This feature is currently experimental and is only supported for Chunks storage._
8
+
_This feature is currently experimental and is only supported for Chunks storage (deprecated)._
9
9
10
10
Cortex supports deletion of series using [Prometheus compatible API](https://prometheus.io/docs/prometheus/latest/querying/api/#delete-series).
11
11
It however does not support [Prometheuses Clean Tombstones](https://prometheus.io/docs/prometheus/latest/querying/api/#clean-tombstones) API because Cortex uses a different mechanism to manage deletions.
Copy file name to clipboardExpand all lines: docs/guides/encryption-at-rest.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@ sse:
38
38
[kms_encryption_context: <string> | default = ""]
39
39
```
40
40
41
-
### Chunks storage
41
+
### Chunks storage (deprecated)
42
42
43
43
The [chunks storage](../chunks-storage/_index.md) S3 server-side encryption can be configured similarly to the blocks storage, but **per-tenant overrides are not supported**.
Copy file name to clipboardExpand all lines: docs/guides/encryption-at-rest.template
+1-1
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ The [blocks storage](../blocks-storage/_index.md) S3 server-side encryption can
20
20
21
21
{{ .S3SSEConfigBlock }}
22
22
23
-
### Chunks storage
23
+
### Chunks storage (deprecated)
24
24
25
25
The [chunks storage](../chunks-storage/_index.md) S3 server-side encryption can be configured similarly to the blocks storage, but **per-tenant overrides are not supported**.
Copy file name to clipboardExpand all lines: docs/guides/glossary.md
+3-1
Original file line number
Diff line number
Diff line change
@@ -11,10 +11,12 @@ The blocks storage is a Cortex storage engine based on Prometheus TSDB, which on
11
11
12
12
For more information, please refer to the [Cortex blocks storage](../blocks-storage/_index.md) documentation.
13
13
14
-
### Chunks storage
14
+
### Chunks storage (deprecated)
15
15
16
16
The chunks storage is a Cortex storage engine which requires both an index store (eg. AWS DynamoDB, Google BigTable, Cassandra, ...) and an object store (eg. AWS S3, Google GCS, ...) as backend storage.
17
17
18
+
The chunks storage is deprecated. You're encouraged to use the [blocks storage](#blocks-storage) instead.
19
+
18
20
### Chunk
19
21
20
22
A chunk is an object containing compressed timestamp-value pairs.
Copy file name to clipboardExpand all lines: docs/guides/grpc-storage-plugin.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ weight: 10
5
5
slug: grpc-based-plugin
6
6
---
7
7
8
-
_This feature is currently experimental and is only supported for Chunks storage._
8
+
_This feature is currently experimental and is only supported for Chunks storage (deprecated)._
9
9
10
10
Cortex chunks storage supports a **gRPC-based plugin system** to use alternative backends for the index and chunks store.
11
11
A store plugin is a gRPC-based server which implements the methods required by the index and chunks store. Cortex chunks storage schema is then configured to use the plugin as backend system and gRPC will be used to communicate between Cortex and the plugin.
0 commit comments