HBASE-27406 Make /prometheus endpoint accessible from HBase UI (#4833)
Signed-off-by: Andor Molnar <andor@apache.org>
Signed-off-by: Balazs Meszaros <meszibalu@apache.org>
(cherry picked from commit dffc8e0fbe
)
This commit is contained in:
parent
fc4191afa1
commit
a31b1486b7
|
@ -58,7 +58,17 @@ String listenPort = conf.get("hbase.rest.port", "8080");
|
|||
<li class="active"><a href="/rest.jsp">Home</a></li>
|
||||
<li><a href="/logs/">Local logs</a></li>
|
||||
<li><a href="/logLevel">Log Level</a></li>
|
||||
<li><a href="/jmx">Metrics Dump</a></li>
|
||||
<li class="nav-item dropdown">
|
||||
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||
Metrics <span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
|
||||
<li><a target="_blank" href="/jmx">JMX</a></li>
|
||||
<li><a target="_blank" href="/jmx?description=true">JMX with description</a></li>
|
||||
<li><a target="_blank" href="/prometheus">Prometheus</a></li>
|
||||
<li><a target="_blank" href="/prometheus?description=true">Prometheus with description</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="/prof">Profiler</a></li>
|
||||
<% if (HBaseConfiguration.isShowConfInServlet()) { %>
|
||||
<li><a href="/conf">HBase Configuration</a></li>
|
||||
|
|
|
@ -162,7 +162,17 @@ AssignmentManager assignmentManager = master.getAssignmentManager();
|
|||
<li><a href="/logs/">Local Logs</a></li>
|
||||
<li><a href="/logLevel">Log Level</a></li>
|
||||
<li><a href="/dump">Debug Dump</a></li>
|
||||
<li><a href="/jmx">Metrics Dump</a></li>
|
||||
<li class="nav-item dropdown">
|
||||
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||
Metrics <span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
|
||||
<li><a target="_blank" href="/jmx">JMX</a></li>
|
||||
<li><a target="_blank" href="/jmx?description=true">JMX with description</a></li>
|
||||
<li><a target="_blank" href="/prometheus">Prometheus</a></li>
|
||||
<li><a target="_blank" href="/prometheus?description=true">Prometheus with description</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="/prof">Profiler</a></li>
|
||||
<%if HBaseConfiguration.isShowConfInServlet()%>
|
||||
<li><a href="/conf">HBase Configuration</a></li>
|
||||
|
|
|
@ -114,7 +114,17 @@ org.apache.hadoop.hbase.zookeeper.MasterAddressTracker;
|
|||
<li><a href="/rsOperationDetails.jsp">Operation Details</a></li>
|
||||
<li><a href="/logLevel">Log Level</a></li>
|
||||
<li><a href="/dump">Debug Dump</a></li>
|
||||
<li><a href="/jmx">Metrics Dump</a></li>
|
||||
<li class="nav-item dropdown">
|
||||
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||
Metrics <span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
|
||||
<li><a target="_blank" href="/jmx">JMX</a></li>
|
||||
<li><a target="_blank" href="/jmx?description=true">JMX with description</a></li>
|
||||
<li><a target="_blank" href="/prometheus">Prometheus</a></li>
|
||||
<li><a target="_blank" href="/prometheus?description=true">Prometheus with description</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="/prof">Profiler</a></li>
|
||||
<%if HBaseConfiguration.isShowConfInServlet()%>
|
||||
<li><a href="/conf">HBase Configuration</a></li>
|
||||
|
|
|
@ -69,7 +69,17 @@
|
|||
<li><a href="/logs/">Local Logs</a></li>
|
||||
<li><a href="/logLevel">Log Level</a></li>
|
||||
<li><a href="/dump">Debug Dump</a></li>
|
||||
<li><a href="/jmx">Metrics Dump</a></li>
|
||||
<li class="nav-item dropdown">
|
||||
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||
Metrics <span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
|
||||
<li><a target="_blank" href="/jmx">JMX</a></li>
|
||||
<li><a target="_blank" href="/jmx?description=true">JMX with description</a></li>
|
||||
<li><a target="_blank" href="/prometheus">Prometheus</a></li>
|
||||
<li><a target="_blank" href="/prometheus?description=true">Prometheus with description</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="/prof">Profiler</a></li>
|
||||
<% if (HBaseConfiguration.isShowConfInServlet()) { %>
|
||||
<li><a href="/conf">HBase Configuration</a></li>
|
||||
|
|
|
@ -56,7 +56,17 @@
|
|||
<li><a href="/rsOperationDetails.jsp">Operation Details</a></li>
|
||||
<li><a href="/logLevel">Log Level</a></li>
|
||||
<li><a href="/dump">Debug Dump</a></li>
|
||||
<li><a href="/jmx">Metrics Dump</a></li>
|
||||
<li class="nav-item dropdown">
|
||||
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||
Metrics <span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
|
||||
<li><a target="_blank" href="/jmx">JMX</a></li>
|
||||
<li><a target="_blank" href="/jmx?description=true">JMX with description</a></li>
|
||||
<li><a target="_blank" href="/prometheus">Prometheus</a></li>
|
||||
<li><a target="_blank" href="/prometheus?description=true">Prometheus with description</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="/prof">Profiler</a></li>
|
||||
<% if (HBaseConfiguration.isShowConfInServlet()) { %>
|
||||
<li><a href="/conf">HBase Configuration</a></li>
|
||||
|
|
|
@ -66,7 +66,17 @@ String compact = conf.get("hbase.regionserver.thrift.compact", "false");
|
|||
<li class="active"><a href="/">Home</a></li>
|
||||
<li><a href="/logs/">Local logs</a></li>
|
||||
<li><a href="/logLevel">Log Level</a></li>
|
||||
<li><a href="/jmx">Metrics Dump</a></li>
|
||||
<li class="nav-item dropdown">
|
||||
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||
Metrics <span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
|
||||
<li><a target="_blank" href="/jmx">JMX</a></li>
|
||||
<li><a target="_blank" href="/jmx?description=true">JMX with description</a></li>
|
||||
<li><a target="_blank" href="/prometheus">Prometheus</a></li>
|
||||
<li><a target="_blank" href="/prometheus?description=true">Prometheus with description</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="/prof">Profiler</a></li>
|
||||
<% if (HBaseConfiguration.isShowConfInServlet()) { %>
|
||||
<li><a href="/conf">HBase Configuration</a></li>
|
||||
|
|
Loading…
Reference in New Issue