fix typo of prometheus

This commit is contained in:
kevin
2020-09-27 17:15:15 +08:00
parent a958400595
commit 9277ad77f7
9 changed files with 9 additions and 9 deletions

View File

@@ -110,7 +110,7 @@ func (s *engine) bindRoute(fr featuredRoutes, router httpx.Router, metrics *stat
handler.TimeoutHandler(time.Duration(s.conf.Timeout)*time.Millisecond),
handler.RecoverHandler,
handler.MetricHandler(metrics),
handler.PrometheousHandler(route.Path),
handler.PromethousHandler(route.Path),
handler.MaxBytesHandler(s.conf.MaxBytes),
handler.GunzipHandler,
)