Adding slow pump detection to web_conn and better metrics (#6114)

* Adding slow pump detection to web_conn and better metrics

* Fixing bad merge

* Fixing typo
This commit is contained in:
Corey Hulen
2017-04-21 09:38:26 -07:00
committed by Joram Wilander
parent 81706b402d
commit e62afeace0
3 changed files with 46 additions and 22 deletions

View File

@@ -33,6 +33,7 @@ type MetricsInterface interface {
IncrementMemCacheHitCounterSession()
IncrementWebsocketEvent(eventType string)
IncrementWebSocketBroadcast(eventType string)
AddMemCacheHitCounter(cacheName string, amount float64)
AddMemCacheMissCounter(cacheName string, amount float64)