Попытка внедрить statsd

This commit is contained in:
ErickSkrauch
2016-08-26 22:08:53 +03:00
parent 34179ae1fe
commit a0d940f8cd
6 changed files with 33 additions and 0 deletions

View File

@@ -13,6 +13,7 @@ import (
)
func Textures(w http.ResponseWriter, r *http.Request) {
services.Stats.Incr("textures-requests", 1)
username := tools.ParseUsername(mux.Vars(r)["username"])
log.Println("request textures for username " + username)