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@byzantine-lab.io>2019-06-13 18:11:44 +0800
commit560d599bd4e8febcf9a1ab11cce9dfe9b4c5bc52 (patch)
treecd2c6493075f2fa6374db35d9c5fb22837278b50 /dex/metrics.go
parent52abd7878fc59776550c73b0e1c6746448c83c17 (diff)
downloadgo-tangerine-560d599bd4e8febcf9a1ab11cce9dfe9b4c5bc52.tar
go-tangerine-560d599bd4e8febcf9a1ab11cce9dfe9b4c5bc52.tar.gz
go-tangerine-560d599bd4e8febcf9a1ab11cce9dfe9b4c5bc52.tar.bz2
go-tangerine-560d599bd4e8febcf9a1ab11cce9dfe9b4c5bc52.tar.lz
go-tangerine-560d599bd4e8febcf9a1ab11cce9dfe9b4c5bc52.tar.xz
go-tangerine-560d599bd4e8febcf9a1ab11cce9dfe9b4c5bc52.tar.zst
go-tangerine-560d599bd4e8febcf9a1ab11cce9dfe9b4c5bc52.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)