summaryrefslogtreecommitdiffstats
path: root/einterfaces/metrics.go
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2017-02-10 07:04:14 -0800
committerCorey Hulen <corey@hulen.com>2017-02-10 07:04:14 -0800
commit58dcf6984be18d73968b3b96655ce57169a6c169 (patch)
tree9e1c440c905271645bcfadbec57da2ba0aff5095 /einterfaces/metrics.go
parent9934954d18b51c0042b9045201453e1fe64d48ed (diff)
downloadchat-58dcf6984be18d73968b3b96655ce57169a6c169.tar.gz
chat-58dcf6984be18d73968b3b96655ce57169a6c169.tar.bz2
chat-58dcf6984be18d73968b3b96655ce57169a6c169.zip
Add cluster request time logging for master (#5347)
Diffstat (limited to 'einterfaces/metrics.go')
-rw-r--r--einterfaces/metrics.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/einterfaces/metrics.go b/einterfaces/metrics.go
index 394abf94d..3c0202d38 100644
--- a/einterfaces/metrics.go
+++ b/einterfaces/metrics.go
@@ -17,6 +17,9 @@ type MetricsInterface interface {
IncrementHttpError()
ObserveHttpRequestDuration(elapsed float64)
+ IncrementClusterRequest()
+ ObserveClusterRequestDuration(elapsed float64)
+
IncrementLogin()
IncrementLoginFail()