diff options
author | Christopher Speller <crspeller@gmail.com> | 2017-01-03 09:57:38 -0500 |
---|---|---|
committer | enahum <nahumhbl@gmail.com> | 2017-01-03 11:57:38 -0300 |
commit | 96b4e0ed8767c879d5cd235b76feac43511835ed (patch) | |
tree | 1bd022385b5430bec010104bba004bc9fb9c21f2 /einterfaces/metrics.go | |
parent | 4bca74d5c1e425b0975a52ee06cee69c85232ced (diff) | |
download | chat-96b4e0ed8767c879d5cd235b76feac43511835ed.tar.gz chat-96b4e0ed8767c879d5cd235b76feac43511835ed.tar.bz2 chat-96b4e0ed8767c879d5cd235b76feac43511835ed.zip |
Adding metrics to cache for profile by ids api (#4925)
Diffstat (limited to 'einterfaces/metrics.go')
-rw-r--r-- | einterfaces/metrics.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/einterfaces/metrics.go b/einterfaces/metrics.go index c4ec9dccf..f7d660da3 100644 --- a/einterfaces/metrics.go +++ b/einterfaces/metrics.go @@ -25,6 +25,9 @@ type MetricsInterface interface { IncrementMemCacheHitCounter(cacheName string) IncrementMemCacheMissCounter(cacheName string) + + AddMemCacheHitCounter(cacheName string, amount float64) + AddMemCacheMissCounter(cacheName string, amount float64) } var theMetricsInterface MetricsInterface |