Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleSubrouter ¶
func HandleSubrouter(s *mux.Router, confhandler *respond.ConfHandler)
HandleSubrouter uses the subrouter for a specific calls and creates a tree of sorts handling each route with a different subrouter
func ListLatestResults ¶
GetMetricResult returns the detailed message from a probe
Types ¶
type MetricData ¶
type MetricData struct {
Group string `bson:"endpoint_group" json:"endpoint_group"`
Service string `bson:"service" json:"service"`
Hostname string `bson:"host" json:"endpoint"`
Metric string `bson:"metric" json:"metric"`
Timestamp string `bson:"timestamp" json:"timestamp"`
Status string `bson:"status" json:"status"`
Summary string `bson:"summary" json:"summary,omitempty"`
Message string `bson:"message" json:"message,omitempty"`
}
MetricData is a struct representing a metric data record
type MetricList ¶
type MetricList struct {
MetricData []MetricData `bson:"metric_data" json:"metric_data"`
}
MetricList represents a list of metric data
Click to show internal directories.
Click to hide internal directories.