requests -> requestsbytype

This commit is contained in:
Howl 2016-10-02 21:54:23 +02:00
parent 3a55524c86
commit a060187547
2 changed files with 2 additions and 2 deletions

View File

@ -78,7 +78,7 @@ func initialCaretaker(c *gin.Context, f func(md common.MethodData) common.CodeMe
doggoTags = append(doggoTags, "hanayo") doggoTags = append(doggoTags, "hanayo")
} }
doggo.Incr("requests.v1", doggoTags, 1) doggo.Incr("requestsbytype.v1", doggoTags, 1)
missingPrivileges := 0 missingPrivileges := 0
for _, privilege := range privilegesNeeded { for _, privilege := range privilegesNeeded {

View File

@ -11,7 +11,7 @@ func PeppyMethod(a func(c *gin.Context, db *sqlx.DB)) gin.HandlerFunc {
rateLimiter() rateLimiter()
perUserRequestLimiter(0, c.ClientIP()) perUserRequestLimiter(0, c.ClientIP())
doggo.Incr("requests.peppy", nil, 1) doggo.Incr("requestsbytype.peppy", nil, 1)
// I have no idea how, but I manged to accidentally string the first 4 // I have no idea how, but I manged to accidentally string the first 4
// letters of the alphabet into a single function call. // letters of the alphabet into a single function call.