prysm-pulse/beacon-chain/state/stategen/metrics.go
terence tsao fea2cc9e2f
Cleanup stategen pkg (#7127)
* Clean up stategen
* Sync with master
* Fix tests
* Merge refs/heads/master into cleanup-newstate
* Merge refs/heads/master into cleanup-newstate
* Rename file
* Merge branch 'cleanup-newstate' of github.com:prysmaticlabs/prysm into cleanup-newstate
* gaz
* Forgot to add metrics page back
2020-08-27 22:29:59 +00:00

17 lines
377 B
Go

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},
},
)
)