Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Gauge ¶
type Gauge struct {
// contains filtered or unexported fields
}
Gauge struct for the prometheus
func NewReplication ¶
func NewReplication() *Gauge
NewReplication create a Gauge object for Replication
func (*Gauge) CurrentFile ¶
CurrentFile set the start time of the process
func (*Gauge) ServerStart ¶
func (g *Gauge) ServerStart()
ServerStart starts the prometheus metrics server
func (*Gauge) SetError ¶
func (g *Gauge) SetError()
SetError set the current time for lastError and incement the countError
func (*Gauge) SetSuccess ¶
SetSuccess set the current time for lastSuccess and incement the countSuccess
Click to show internal directories.
Click to hide internal directories.