Skip to content

Commit

Permalink
update namespace_configuration docs to use the right keys (#2045)
Browse files Browse the repository at this point in the history
  • Loading branch information
bpownow authored and arnikola committed Nov 26, 2019
1 parent 1f40a47 commit 6f2ecf5
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs/operational_guide/namespace_configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,16 +53,16 @@ curl -X POST <M3_COORDINATOR_IP_ADDRESS>:<CONFIGURED_PORT(default 7201)>/api/v1/
"snapshotEnabled": true,
"repairEnabled": false,
"retentionOptions": {
"retentionPeriodDuration": "2d",
"blockSizeDuration": "2h",
"bufferFutureDuration": "10m",
"bufferPastDuration": "10m",
"retentionPeriod": "2d",
"blockSize": "2h",
"bufferFuture": "10m",
"bufferPast": "10m",
"blockDataExpiry": true,
"blockDataExpiryAfterNotAccessPeriodDuration": "5m"
"blockDataExpiryAfterNotAccessedPeriod": "5m"
},
"indexOptions": {
"enabled": true,
"blockSizeDuration": "2h"
"blockSize": "2h"
}
}
}'
Expand Down Expand Up @@ -178,7 +178,7 @@ Whether to use the built-in indexing. Must be `true`.

Can be modified without creating a new namespace: `no`

#### blockSizeDuration
#### blockSize

The size of blocks (in duration) that the index uses.
Should match the databases [blocksize](#blocksize) for optimal memory usage.
Expand Down

0 comments on commit 6f2ecf5

Please sign in to comment.