Skip to content

Commit 05404d5

Browse files
authored
Document the v1.x guarantees (#2360)
Signed-off-by: Goutham Veeramachaneni <[email protected]>
1 parent ec3fd30 commit 05404d5

File tree

3 files changed

+49
-2
lines changed

3 files changed

+49
-2
lines changed

docs/configuration/schema-config-reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Schema Configuration"
33
linkTitle: "Schema Configuration"
4-
weight: 1
4+
weight: 4
55
slug: schema-configuration
66
---
77

docs/configuration/single-process-config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Single-process"
33
linkTitle: "Single-process"
4-
weight: 4
4+
weight: 5
55
slug: single-process-config
66
---
77

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
---
2+
title: "v1.x Guarantees"
3+
linkTitle: "v1.x Guarantees"
4+
weight: 6
5+
slug: v1guarantees
6+
---
7+
8+
For the v1.0 release, we want to provide the following guarantees:
9+
10+
# Flags, Config and minor version upgrades
11+
12+
Upgrading cortex from one minor version to the next should "just work"; that being said, we don't want to bump the major version every time we remove a flag, so we will will keep deprecated flags around for 2 minor release. There is a metric (`cortex_deprecated_flags_inuse_total`) you can alert on to find out if you're using a deprecated flag.
13+
14+
Similarly to flags, minor version upgrades using config files should "just work". If we do need to change config, we will keep the old way working for two minor version. There will be a metric you can alert on for this too.
15+
16+
These guarantees don't apply for [experimental features](#experimental-features).
17+
18+
# Reading old data
19+
20+
The Cortex maintainers commit to ensuring future version of Cortex can read data written by versions up to two years old. In practice we expect to be able to read more, but this is our guarantee.
21+
22+
# API Compatibility
23+
24+
Cortex strives to be 100% API compatible with Prometheus (under `/api/prom/*`); any deviation from this is considered a bug, except:
25+
26+
- Requiring the `__name__` label on queries.
27+
- Additional API endpoints for creating, removing and modifying alerts and recording rules.
28+
- Additional API around pushing metrics (under `/api/push`).
29+
- Additional API endpoints for management of Cortex itself, such as the ring. These APIs are not part of the any compatibility guarantees.
30+
31+
# Experimental features
32+
33+
Cortex is an actively developed project and we want to encourage the introduction of new features and capability. As such, not everything in each release of Cortex is considered "production-ready". We don't provide any backwards compatibility guarantees on these and the config and flags might break.
34+
35+
Currently experimental features are:
36+
37+
- TSDB block storage.
38+
- Ingester chunk WAL.
39+
- Cassandra storage engine.
40+
- Azure blob storage.
41+
- Zone awareness based replication.
42+
- Gossip based ring.
43+
- User subrings.
44+
- Ruler API (to PUT rules).
45+
- Memcached client DNS-based service discovery.
46+
- Delete series APIs.
47+
- In-memory (FIFO) and Redis cache.

0 commit comments

Comments
 (0)