diff options
author | Joram Wilander <jwawilander@gmail.com> | 2017-02-10 07:04:14 -0800 |
---|---|---|
committer | Corey Hulen <corey@hulen.com> | 2017-02-10 07:04:14 -0800 |
commit | 58dcf6984be18d73968b3b96655ce57169a6c169 (patch) | |
tree | 9e1c440c905271645bcfadbec57da2ba0aff5095 /einterfaces/metrics.go | |
parent | 9934954d18b51c0042b9045201453e1fe64d48ed (diff) | |
download | chat-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.go | 3 |
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() |