Skip to content

Commit

Permalink
Forgot to add metrics page back
Browse files Browse the repository at this point in the history
  • Loading branch information
terencechain committed Aug 27, 2020
1 parent 9aa55be commit 093834d
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions beacon-chain/state/stategen/metrics.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package stategen

import (
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/client_golang/prometheus/promauto"
)

var (
replayBlockCount = promauto.NewHistogram(
prometheus.HistogramOpts{
Name: "replay_blocks_count",
Help: "The number of blocks to replay to generate a state",
Buckets: []float64{64, 256, 1024, 2048, 4096},
},
)
)

0 comments on commit 093834d

Please sign in to comment.