monitor http user games pagination
This commit is contained in:
parent
ae5110ad83
commit
38b9575a22
|
@ -139,6 +139,7 @@ object User extends LilaController {
|
|||
})(fuccess) flatMap { filterName =>
|
||||
val ip = HTTPRequest lastRemoteAddress ctx.req
|
||||
UserGamesRateLimitPerIP(ip, cost = page, msg = ip) {
|
||||
lila.mon.http.userGames.cost(page)
|
||||
GameFilterMenu.paginatorOf(
|
||||
userGameSearch = userGameSearch,
|
||||
user = u,
|
||||
|
|
|
@ -44,6 +44,9 @@ object mon {
|
|||
object mailgun {
|
||||
val timeout = inc("http.mailgun.timeout")
|
||||
}
|
||||
object userGames {
|
||||
def cost = incX(s"http.user-games.cost")
|
||||
}
|
||||
}
|
||||
object lobby {
|
||||
object hook {
|
||||
|
|
Loading…
Reference in a new issue