aboutsummaryrefslogtreecommitdiffstats
path: root/dex/metrics.go
diff options
context:
space:
mode:
authorJimmy Hu <jimmy.hu@dexon.org>2019-03-19 16:23:44 +0800
committerWei-Ning Huang <w@dexon.org>2019-04-09 21:32:58 +0800
commiteeec5d638dd675827ba9eebedf56ce9860522f55 (patch)
tree417b1b97bcfb002edb5f05438fd8407eeeb63f70 /dex/metrics.go
parent625bdb6b3ecdd5bed3adb4cd1f8fc0e56ae1f49f (diff)
downloaddexon-eeec5d638dd675827ba9eebedf56ce9860522f55.tar.gz
dexon-eeec5d638dd675827ba9eebedf56ce9860522f55.tar.zst
dexon-eeec5d638dd675827ba9eebedf56ce9860522f55.zip
dex: add block confirme latency (#275)
Diffstat (limited to 'dex/metrics.go')
-rw-r--r--dex/metrics.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/dex/metrics.go b/dex/metrics.go
index 4ca16ece5..1f691bc15 100644
--- a/dex/metrics.go
+++ b/dex/metrics.go
@@ -22,6 +22,7 @@ import (
)
var (
+ propBlockConfirmLatency = metrics.NewRegisteredGauge("dex/prop/blockconfirm/latency", nil)
propTxnInPacketsMeter = metrics.NewRegisteredMeter("dex/prop/txns/in/packets", nil)
propTxnInTrafficMeter = metrics.NewRegisteredMeter("dex/prop/txns/in/traffic", nil)
propTxnOutPacketsMeter = metrics.NewRegisteredMeter("dex/prop/txns/out/packets", nil)