From 1fd6e25dbc3f18c8b4b6fb6181754724bb99ffab Mon Sep 17 00:00:00 2001 From: Lonng Date: Tue, 25 Dec 2018 15:40:22 +0800 Subject: [PATCH] restore: add metrics --- lightning/metric/metric.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lightning/metric/metric.go b/lightning/metric/metric.go index ee9df17d6..3fef6fa7e 100644 --- a/lightning/metric/metric.go +++ b/lightning/metric/metric.go @@ -165,6 +165,8 @@ func init() { prometheus.MustRegister(BlockDeliverSecondsHistogram) prometheus.MustRegister(BlockDeliverBytesHistogram) prometheus.MustRegister(ChecksumSecondsHistogram) + prometheus.MustRegister(ChunkParserReadRowSecondsHistogram) + prometheus.MustRegister(ChunkParserReadBlockSecondsHistogram) } func RecordTableCount(status string, err error) {