mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-27 05:38:55 +00:00
fea2cc9e2f
* 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
17 lines
377 B
Go
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},
|
|
},
|
|
)
|
|
)
|