Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 13 additions & 11 deletions server/monitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -1437,6 +1437,8 @@ func (s *Server) HandleRoot(w http.ResponseWriter, r *http.Request) {
a.last { padding-bottom: 16px }
a.version { font-size: 14; font-weight: 400; width: 312px; text-align: right; margin-top: -2rem }
a.version:hover { color: rgb(22 22 32) }
.endpoint { font-size: 12px; color: #999; font-family: monospace; display: none }
a:hover .endpoint { display: inline }

</style>
</head>
Expand All @@ -1447,17 +1449,17 @@ func (s *Server) HandleRoot(w http.ResponseWriter, r *http.Request) {

</div>
<br/>
<a href=.%s>General (%s)</a>
<a href=.%s>JetStream (%s)</a>
<a href=.%s>Connections (%s)</a>
<a href=.%s>Accounts (%s)</a>
<a href=.%s>Account Stats (%s)</a>
<a href=.%s>Subscriptions (%s)</a>
<a href=.%s>Routes (%s)</a>
<a href=.%s>LeafNodes (%s)</a>
<a href=.%s>Gateways (%s)</a>
<a href=.%s>Raft Groups (%s)</a>
<a href=.%s class=last>Health Probe (%s)</a>
<a href=.%s>General<span class="endpoint"> %s</span></a>
<a href=.%s>JetStream<span class="endpoint"> %s</span></a>
<a href=.%s>Connections<span class="endpoint"> %s</span></a>
<a href=.%s>Accounts<span class="endpoint"> %s</span></a>
<a href=.%s>Account Stats<span class="endpoint"> %s</span></a>
<a href=.%s>Subscriptions<span class="endpoint"> %s</span></a>
<a href=.%s>Routes<span class="endpoint"> %s</span></a>
<a href=.%s>LeafNodes<span class="endpoint"> %s</span></a>
<a href=.%s>Gateways<span class="endpoint"> %s</span></a>
<a href=.%s>Raft Groups<span class="endpoint"> %s</span></a>
<a href=.%s class=last>Health Probe<span class="endpoint"> %s</span></a>
<a href=https://docs.nats.io/running-a-nats-service/nats_admin/monitoring class="help">Help</a>
</body>
</html>`,
Expand Down