tech(metrics): move all request counters into one middleware

This commit is contained in:
bergquist
2016-09-09 13:28:19 +02:00
parent 583790e650
commit e7b56c6389
5 changed files with 41 additions and 14 deletions
+1
View File
@@ -53,6 +53,7 @@ func newMacaron() *macaron.Macaron {
m.Use(middleware.GetContextHandler())
m.Use(middleware.Sessioner(&setting.SessionOptions))
m.Use(middleware.RequestMetrics())
return m
}