fn: ui no longer uses /stats (#776)

Decommission /stats related code.
This commit is contained in:
Tolga Ceylan
2018-02-15 16:05:59 -08:00
committed by GitHub
parent aee4f7f406
commit af1ea0fa95
4 changed files with 19 additions and 195 deletions

View File

@@ -435,7 +435,6 @@ func (s *Server) bindHandlers(ctx context.Context) {
engine.GET("/", handlePing)
engine.GET("/version", handleVersion)
// TODO: move the following under v1
engine.GET("/stats", s.handleStats)
engine.GET("/metrics", s.handlePrometheusMetrics)
profilerSetup(engine, "/debug")