github.com/prysmaticlabs/prysm@v1.4.4/slasher/beaconclient/metrics.go (about)

     1  package beaconclient
     2  
     3  import (
     4  	"github.com/prometheus/client_golang/prometheus"
     5  	"github.com/prometheus/client_golang/prometheus/promauto"
     6  )
     7  
     8  var (
     9  	slasherNumAttestationsReceived = promauto.NewCounter(prometheus.CounterOpts{
    10  		Name: "slasher_attestations_received_total",
    11  		Help: "The # of attestations received by slasher",
    12  	})
    13  )