Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsRaftLeadershipError ¶ added in v1.9.0
Types ¶
type LeaderObserver ¶ added in v1.9.0
type LeaderObserver struct {
// contains filtered or unexported fields
}
func NewRaftLeaderHealthObserver ¶
func NewRaftLeaderHealthObserver(logger log.Logger, m *Metrics) *LeaderObserver
func (*LeaderObserver) Deregister ¶ added in v1.9.0
func (hs *LeaderObserver) Deregister(r *raft.Raft)
type Metrics ¶
type Metrics struct {
// contains filtered or unexported fields
}
func NewMetrics ¶
func NewMetrics(reg prometheus.Registerer) *Metrics
Click to show internal directories.
Click to hide internal directories.