From 2e2b1e481b223479fff02690409e3a6f70f44d32 Mon Sep 17 00:00:00 2001 From: Howl Date: Sun, 2 Oct 2016 21:59:04 +0200 Subject: [PATCH] Revert "requests -> requestsbytype" This reverts commit a0601875478aaffe3c6550b5a3fdace178fd426e. --- 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 fa54856..3885cab 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("requestsbytype.v1", doggoTags, 1) + doggo.Incr("requests.v1", doggoTags, 1) missingPrivileges := 0 for _, privilege := range privilegesNeeded { diff --git a/app/peppy_method.go b/app/peppy_method.go index e43595a..1a4b101 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("requestsbytype.peppy", nil, 1) + doggo.Incr("requests.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.