Skip to content

Commit

Permalink
Add /debug/status links to opentsdb vars & full vtgate gateway status
Browse files Browse the repository at this point in the history
Summary:
A status page is only useful if people know how to find it. I'll also
mail the gateway status part upstream to the open source project.

Reviewers: #vitess, sreshtav, mingjianliu

Reviewed By: #vitess, mingjianliu

Subscribers: jenkins

Differential Revision: https://phabricator.pinadmin.com/D382954
  • Loading branch information
dweitzman committed Apr 2, 2019
1 parent 338648c commit b092449
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions go/vt/servenv/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ Started: {{.StartTime}}<br>
<div class=righthand>
Running on {{.Hostname}}<br>
View <a href=/debug/vars>variables</a>,
<a href=/debug/opentsdb>tsdb stats</a>,
<a href=/debug/pprof>debugging profiles</a>,
</div>
</div>`
Expand Down
3 changes: 3 additions & 0 deletions go/vt/vtgate/gateway/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ const (
}
</style>
<table>
<tr>
<th colspan="8">Gateway Status <i><a href="/debug/gateway">in JSON</a></i></th>
</tr>
<tr>
<th>Keyspace</th>
<th>Shard</th>
Expand Down

0 comments on commit b092449

Please sign in to comment.