Skip to content

Commit 6841611

Browse files
committed
Add documentation for periodic table dates
Signed-off-by: Chris Marchbanks <[email protected]>
1 parent 05b14ec commit 6841611

File tree

2 files changed

+20
-4
lines changed

2 files changed

+20
-4
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,15 @@ Cortex is a primarily used as a [remote write](https://prometheus.io/docs/operat
2121

2222
## Documentation
2323

24-
Read the [getting started guide](docs/getting_started.md) if you're new to the project.
24+
Read the [getting started guide](docs/getting_started.md) if you're new to the
25+
project. Before deploying Cortex with a permanent storage backend you
26+
should read:
27+
1. [An overview of Cortex's architecture](docs/architecture.md)
28+
1. [A general guide to running Cortex](docs/running.md)
29+
1. [Information regarding configuring Cortex](docs/arguments.md)
2530

2631
For a guide to contributing to Cortex, see the [contributor guidelines](CONTRIBUTING.md).
2732

28-
You can also read [an overview of Cortex's architecture](docs/architecture.md) and [information about configuring Cortex](docs/arguments.md).
29-
3033
## Further reading
3134

3235
To learn more about Cortex, consult the following documents & talks:

docs/running.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,20 @@ replica and be unconcerned, as we still have two copies of the data
4343
left for redundancy. This is configurable: you can run with more
4444
redundancy or less, depending on your risk appetite.
4545

46-
### Index schema
46+
### Schema
47+
48+
#### Schema periodic table
49+
50+
The periodic table from argument (`-dynamodb.periodic-table.from=<date>` if
51+
using command line flags, the `from` field for the first schema entry if using
52+
YAML) should be set to the date the oldest metrics you will be sending to
53+
Cortex. Generally that means set it to the date you are first deploying this
54+
instance. If you use an example date from years ago table-manager will create
55+
hundreds of tables. You can also avoid creating too many tables by setting a
56+
reasonable retention in the table-manager
57+
(`-table-manager.retention-period=<duration>`).
58+
59+
#### Schema version
4760

4861
Choose schema version 9 in most cases; version 10 if you expect
4962
hundreds of thousands of timeseries under a single name. Anything

0 commit comments

Comments
 (0)