Skip to content
This repository was archived by the owner on Aug 23, 2023. It is now read-only.

Commit deaaa9b

Browse files
committed
missing clarification
1 parent b965270 commit deaaa9b

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

metrictank.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ var (
6767
primaryNode = flag.Bool("primary-node", false, "the primary node writes data to cassandra. There should only be 1 primary node per cluster of nodes.")
6868

6969
// Data:
70-
chunkSpanStr = flag.String("chunkspan", "2h", "chunk span")
71-
numChunksInt = flag.Int("numchunks", 5, "number of chunks to keep in memory. should be at least 1 more than what's needed to satisfy aggregation rules")
70+
chunkSpanStr = flag.String("chunkspan", "2h", "duration of raw chunks")
71+
numChunksInt = flag.Int("numchunks", 5, "number of raw chunks to keep in memory. should be at least 1 more than what's needed to satisfy aggregation rules")
7272
ttlStr = flag.String("ttl", "35d", "minimum wait before metrics are removed from storage")
7373

7474
chunkMaxStaleStr = flag.String("chunk-max-stale", "1h", "max age for a chunk before to be considered stale and to be persisted to Cassandra.")

scripts/config/metrictank-docker.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ primary-node = true
1616
## data ##
1717

1818
# see https://github.com/raintank/metrictank/blob/master/docs/data-knobs.md for more details
19-
# duration of chunks. e.g. 10min, 30min, 1h, 90min...
19+
# duration of raw chunks. e.g. 10min, 30min, 1h, 90min...
2020
chunkspan = 10min
2121
# number of raw chunks to keep in memory. should be at least 1 more than what's needed to satisfy aggregation rules
2222
numchunks = 5

scripts/config/metrictank-package.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ primary-node = true
1616
## data ##
1717

1818
# see https://github.com/raintank/metrictank/blob/master/docs/data-knobs.md for more details
19-
# duration of chunks. e.g. 10min, 30min, 1h, 90min...
19+
# duration of raw chunks. e.g. 10min, 30min, 1h, 90min...
2020
chunkspan = 10min
2121
# number of raw chunks to keep in memory. should be at least 1 more than what's needed to satisfy aggregation rules
2222
numchunks = 5

0 commit comments

Comments
 (0)