-
Notifications
You must be signed in to change notification settings - Fork 454
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 debug/dump cmd with Cluster-Environment-Name header #2672
Changes from 6 commits
8f4531e
b578a2b
956b0bd
c4e37ef
4ea66b9
b2b3ee3
708955b
327f39d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,8 +40,14 @@ This endpoint can be used on both the db nodes as well as the coordinator/query | |
|
||
To use this, simply run the following on either the M3DB debug listen port or the regular port on M3Coordinator. | ||
|
||
You may need to include the following headers: | ||
|
||
--8<-- | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What's this mean? Renders weirdly when I click the markdown view. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yea it's as mkdocs thing, that will embed other pages. we do something similar for https://m3db.github.io/m3/operational_guide/placement_configuration/ |
||
docs/common/headers_placement_namespace.md | ||
--8<-- | ||
|
||
``` | ||
curl <m3db_or_m3coordinator_ip>:<port>/debug/dump > <tmp_zip_file.zip> | ||
curl -H "Cluster-Environment-Name: [set if not default]" <m3db_or_m3coordinator_ip>:<port>/debug/dump > <tmp_zip_file.zip> | ||
|
||
# unzip the file | ||
unzip <tmp_zip_file.zip> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add something along the lines of "if the placement you are interested in is under a separate
env
than the service you are downloading the dump from, you may need to set theCluster-Environment-Name
header"There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Never mind! The fallback behavior isn't consistent.