summaryrefslogtreecommitdiffstats
path: root/einterfaces
diff options
context:
space:
mode:
authorCorey Hulen <corey@hulen.com>2017-04-21 09:38:26 -0700
committerJoram Wilander <jwawilander@gmail.com>2017-04-21 12:38:26 -0400
commite62afeace04e2abd23fa78a0a54e0a5d2e17e0b7 (patch)
treeccc4feb2ac3c9dcb0e8766366854de0646443b63 /einterfaces
parent81706b402dafd6ce0727ed6d65105092f76b118a (diff)
downloadchat-e62afeace04e2abd23fa78a0a54e0a5d2e17e0b7.tar.gz
chat-e62afeace04e2abd23fa78a0a54e0a5d2e17e0b7.tar.bz2
chat-e62afeace04e2abd23fa78a0a54e0a5d2e17e0b7.zip
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
Diffstat (limited to 'einterfaces')
-rw-r--r--einterfaces/metrics.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/einterfaces/metrics.go b/einterfaces/metrics.go
index a9acb8c2b..e1ef9c15e 100644
--- a/einterfaces/metrics.go
+++ b/einterfaces/metrics.go
@@ -33,6 +33,7 @@ type MetricsInterface interface {
IncrementMemCacheHitCounterSession()
IncrementWebsocketEvent(eventType string)
+ IncrementWebSocketBroadcast(eventType string)
AddMemCacheHitCounter(cacheName string, amount float64)
AddMemCacheMissCounter(cacheName string, amount float64)