mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 12:57:18 +00:00
18 lines
517 B
Go
18 lines
517 B
Go
|
package slasherkv
|
||
|
|
||
|
import (
|
||
|
"github.com/prometheus/client_golang/prometheus"
|
||
|
"github.com/prometheus/client_golang/prometheus/promauto"
|
||
|
)
|
||
|
|
||
|
var (
|
||
|
slasherAttestationsPrunedTotal = promauto.NewCounter(prometheus.CounterOpts{
|
||
|
Name: "slasher_attestations_pruned_total",
|
||
|
Help: "Total number of old attestations pruned by slasher",
|
||
|
})
|
||
|
slasherProposalsPrunedTotal = promauto.NewCounter(prometheus.CounterOpts{
|
||
|
Name: "slasher_proposals_pruned_total",
|
||
|
Help: "Total number of old proposals pruned by slasher",
|
||
|
})
|
||
|
)
|