mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-26 05:17:22 +00:00
8d3fc1ad3e
* added in slasher metrics * Merge branch 'master' into slasher-metrics * add in prom bolt metrics for slasher * Merge branch 'slasher-metrics' of github.com:prysmaticlabs/prysm into slasher-metrics * imports * include all metrics * no dup bolt collector * Update slasher/detection/attestations/spanner.go Co-Authored-By: Ivan Martinez <ivanthegreatdev@gmail.com> * naming best practices for prom, thx Terence * Merge branch 'slasher-metrics' of github.com:prysmaticlabs/prysm into slasher-metrics
14 lines
333 B
Go
14 lines
333 B
Go
package beaconclient
|
|
|
|
import (
|
|
"github.com/prometheus/client_golang/prometheus"
|
|
"github.com/prometheus/client_golang/prometheus/promauto"
|
|
)
|
|
|
|
var (
|
|
slasherNumAttestationsReceived = promauto.NewCounter(prometheus.CounterOpts{
|
|
Name: "slasher_attestations_received_total",
|
|
Help: "The # of attestations received by slasher",
|
|
})
|
|
)
|