mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-23 11:57:18 +00:00
18 lines
503 B
Go
18 lines
503 B
Go
|
package helpers
|
||
|
|
||
|
import (
|
||
|
"github.com/prometheus/client_golang/prometheus"
|
||
|
"github.com/prometheus/client_golang/prometheus/promauto"
|
||
|
)
|
||
|
|
||
|
var (
|
||
|
attReceivedTooEarlyCount = promauto.NewCounter(prometheus.CounterOpts{
|
||
|
Name: "attestation_too_early_total",
|
||
|
Help: "Increased when an attestation is considered too early",
|
||
|
})
|
||
|
attReceivedTooLateCount = promauto.NewCounter(prometheus.CounterOpts{
|
||
|
Name: "attestation_too_late_total",
|
||
|
Help: "Increased when an attestation is considered too late",
|
||
|
})
|
||
|
)
|