requests -> requestsbytype
This commit is contained in:
parent
3a55524c86
commit
a060187547
|
@ -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 {
|
||||||
|
|
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user