Documentation ¶
Overview ¶
Package history stores check results and provides a web interface to view them
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type History ¶
type History struct {
// contains filtered or unexported fields
}
History stores check results and provides a web interface to view them. Similar to the web ui provided by the prometheus blackbox exporter.
func (*History) Append ¶
func (h *History) Append(r checker.CheckResult)
Append adds a new check result to the history
func (*History) ShowDetail ¶
func (h *History) ShowDetail(w http.ResponseWriter, r *http.Request)
ShowDetail displays the details of a single check result in a web browser
Click to show internal directories.
Click to hide internal directories.