prysm-pulse/slasher/detection/metrics.go
terence tsao 6e514b96fd
Remove unused code (#6065)
* Ran code cleanup from goland

* Typo

* Remove unused code

* Gazelle

* Delete comments
2020-05-31 15:47:15 -07:00

22 lines
669 B
Go

package detection
import (
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/client_golang/prometheus/promauto"
)
var (
doubleVotesDetected = promauto.NewCounter(prometheus.CounterOpts{
Name: "double_votes_detected_total",
Help: "The # of double vote slashable events detected",
})
surroundingVotesDetected = promauto.NewCounter(prometheus.CounterOpts{
Name: "surrounding_votes_detected_total",
Help: "The # of surrounding slashable events detected",
})
surroundedVotesDetected = promauto.NewCounter(prometheus.CounterOpts{
Name: "surrounded_votes_detected_total",
Help: "The # of surrounded slashable events detected",
})
)