Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update namespace_configuration docs to use the right keys #2045

Merged
merged 6 commits into from
Nov 26, 2019
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
"blockDataExpiryAfterNotAccessPeriod": "5m"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This may have to be blockDataExpiryAfterNotAccessedPeriod as here

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@arnikola updated

},
"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