mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-26 13:18:57 +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",
|
||
|
})
|
||
|
)
|