滚动升级到4.0之后。http://xxxx:2379/dashboard/,返回404 page not found
tiup cluster display test-cluster --dashboard 利用这个命令查找地址,返回Error: failed to retrieve TiDB Dashboard instance from PD: cannot found dashboard address
不知道对不对,源码上错误位置
这个参数在
https://docs.pingcap.com/zh/tidb/stable/dynamic-config#在线修改-pd-配置 文档的这个位置有出现过,不知道是不是设置下就好了。。

或者是通过tiup ctl pd -u http://xxxx:2379 config set dashboard-address 【auto|http://xxxxx:2379】 重新选举或者指定pd。