Skip to content

Commit

Permalink
Merge pull request cockroachdb#18703 from a-robinson/debugtoc
Browse files Browse the repository at this point in the history
ui: Add debug page links to the allocator simulator endpoints
  • Loading branch information
a-robinson authored Sep 22, 2017
2 parents c4ed5cf + 895292b commit 404b1c7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/ui/embedded.go

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions pkg/ui/src/views/reports/containers/debug/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,18 @@ export default function Debug() {
note="/_admin/v1/rangelog/[range_id]?limit=100"
/>
</DebugTableRow>
<DebugTableRow title="Allocator">
<DebugTableLink
name="Simulated Allocator Runs on a Specific Node"
url="/_status/allocator/node/local"
note="/_status/allocator/node/[node_id]"
/>
<DebugTableLink
name="Simulated Allocator Runs on a Specific Range"
url="/_status/allocator/range/1"
note="/_status/allocator/range/[range_id]"
/>
</DebugTableRow>
</DebugTable>
</div>
);
Expand Down

0 comments on commit 404b1c7

Please sign in to comment.