Skip to content
This repository has been archived by the owner on Dec 8, 2021. It is now read-only.

Commit

Permalink
restore: add metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
lonng committed Dec 25, 2018
1 parent 0bb02d6 commit 1fd6e25
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lightning/metric/metric.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 1fd6e25

Please sign in to comment.