Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CandidatesQuery = `` /* 931-byte string literal not displayed */
CandidatesQuery is a Prometheus query to determine what machines need to be rebooted. A machine is to be rebooted if it's unreachable via SSH or it's taking too long to boot, unless it's in GMX, lame-duck or its whole site is currently offline.
Functions ¶
func GetOfflineNodes ¶ added in v0.2.0
GetOfflineNodes checks for offline nodes in the last N minutes. It returns a Vector of samples.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.