prysm-pulse/beacon-chain/operations/synccommittee/metric.go
terence tsao 4229b466ae
Add sync committee pool pkg (#9203)
* Add sync committee pkg

* Fix err variable namings
2021-07-19 19:06:49 +00:00

18 lines
545 B
Go

package synccommittee
import (
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/client_golang/prometheus/promauto"
)
var (
savedSyncCommitteeMessageTotal = promauto.NewCounter(prometheus.CounterOpts{
Name: "saved_sync_committee_message_total",
Help: "The number of saved sync committee message total.",
})
savedSyncCommitteeContributionTotal = promauto.NewCounter(prometheus.CounterOpts{
Name: "saved_sync_committee_contribution_total",
Help: "The number of saved sync committee contribution total.",
})
)