Fixed the broken metrics information of master in WebUI.
After we introduced redirection on `/master/state` endpoint to the
leading master in `c9153336`, the metrics information in the WebUI
was broken when the current master is not the leading master.
In this patch, we retrieve the leading maste
Fixed the broken metrics information of master in WebUI.
After we introduced redirection on `/master/state` endpoint to the
leading master in `c9153336`, the metrics information in the WebUI
was broken when the current master is not the leading master.
In this patch, we retrieve the leading maste