code: func cronStatsNSHandler(ctx *router.Context) {
  	s := ctx.Params.ByName("stat")
  	qs, ok := metrics[s]
  	if !ok {
  		ctx.Writer.WriteHeader(http.StatusNotFound)
  		return
  	}
  	ns := ctx.Params.ByName("namespace")
  	c := info.MustNamespace(ctx.Context, ns)
  	err := doShardedQueryStat(c, ns, qs)
  	if err != nil {
  		errors.Log(c, err)
  		ctx.Writer.WriteHeader(http.StatusInternalServerError)
  	}
  }
docs: // cronStatsNSHandler gathers metrics about a metric and namespace within logdog.