Documentation
¶
Index ¶
Constants ¶
View Source
const (
Namespace = "walreader"
)
Variables ¶
Functions ¶
func GetCollectors ¶
func GetCollectors() []prometheus.Collector
Types ¶
type Info ¶
type Info struct {
Name string `json:"name"`
WalStatus string `json:"walStatus"`
RestartLSN pglogrepl.LSN `json:"restartLSN"`
ConfirmedFlushLSN pglogrepl.LSN `json:"confirmedFlushLSN"`
CurrentLSN pglogrepl.LSN `json:"currentLSN"`
RetainedWALSize pglogrepl.LSN `json:"retainedWALSize"`
Lag pglogrepl.LSN `json:"lag"`
ActivePID *int32 `json:"activePID"`
Active bool `json:"active"`
}
type WALReader ¶
type WALReader struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.