code: func (a *Api) RegisterModel(container *restful.Container) {
  	ws := new(restful.WebService)
  	ws.Path("/api/v1/model").
  		Doc("Root endpoint of the stats model").
  		Consumes("*/*").
  		Produces(restful.MIME_JSON)
  
  	addClusterMetricsRoutes(a, ws)
  
  	ws.Route(ws.GET("/debug/allkeys").
  		To(metrics.InstrumentRouteFunc("debugAllKeys", a.allKeys)).
  		Doc("Get keys of all metric sets available").
  		Operation("debugAllKeys"))
  	container.Add(ws)
  }
docs: // RegisterModel registers the Model API endpoints.
  // All endpoints that end with a {metric-name} also receive a start time query parameter.
  // The start and end times should be specified as a string, formatted according to RFC 3339.