From a0601875478aaffe3c6550b5a3fdace178fd426e Mon Sep 17 00:00:00 2001 From: Howl Date: Sun, 2 Oct 2016 21:54:23 +0200 Subject: [PATCH] requests -> requestsbytype --- app/method.go | 2 +- app/peppy_method.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/method.go b/app/method.go index 3885cab..fa54856 100644 --- a/app/method.go +++ b/app/method.go @@ -78,7 +78,7 @@ func initialCaretaker(c *gin.Context, f func(md common.MethodData) common.CodeMe doggoTags = append(doggoTags, "hanayo") } - doggo.Incr("requests.v1", doggoTags, 1) + doggo.Incr("requestsbytype.v1", doggoTags, 1) missingPrivileges := 0 for _, privilege := range privilegesNeeded { diff --git a/app/peppy_method.go b/app/peppy_method.go index 1a4b101..e43595a 100644 --- a/app/peppy_method.go +++ b/app/peppy_method.go @@ -11,7 +11,7 @@ func PeppyMethod(a func(c *gin.Context, db *sqlx.DB)) gin.HandlerFunc { rateLimiter() 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 // letters of the alphabet into a single function call.