tikv / tikv/pd

Redirect browser accessing to PD to Dashboard

Open
#3,622 1 comment 1 reaction 0 assignees View on GitHub
type/enhancement
Dominant language
Go
Stars
1.2k
Forks
783
Avg merge
5d 21h
Merged PRs (30d)
36

Description

## Feature Request

### Describe your feature request related problem

I want to access dashboard, but I don't know the exact URL. So I use tiup to display the cluster, it shows a PD with UI mark. So I guess dashboard should be hosted in the address. But no matter connecting 2379 or 2380 will get a 404 status code.

### Describe the feature you'd like

When accessing PD using browser without extra path, it can redirect the request to dashboard instead. PD can use user agent to tell if it's a request made in browser.

### Describe alternatives you've considered

Display the full dashboard url in tiup display. Show full url can be more accurate, and if dashboard is moved outside of PD, the entry point can be reused. But redirecting seems more convenient.

### Teachability, Documentation, Adoption, Migration Strategy

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.