Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FlatListEndpointTimelines ¶
func FlatListEndpointTimelines(r *http.Request, cfg config.Config) (int, http.Header, []byte, error)
FlatListEndpointTimelines returns a list of metric timelines
func HandleSubrouter ¶
func HandleSubrouter(s *mux.Router, confhandler *respond.ConfHandler)
HandleSubrouter contains the different paths to follow during subrouting
Types ¶
type DataOutput ¶
type DataOutput struct {
Report string `bson:"report"`
Timestamp string `bson:"timestamp"`
EndpointGroup string `bson:"endpoint_group"`
Service string `bson:"service"`
Hostname string `bson:"host"`
Status string `bson:"status"`
DateInt int `bson:"date_integer"`
Info map[string]string `bson:"info"`
HasThresholdRule bool `bson:"has_threshold_rule"`
}
DataOutput struct holds the queried data from datastore
type InputParams ¶
type InputParams struct {
// contains filtered or unexported fields
}
InputParams struct holds as input all the url params of the request
Click to show internal directories.
Click to hide internal directories.