Documentation
¶
Index ¶
- func FlatListEndpointTimelines(r *http.Request, cfg config.Config) (int, http.Header, []byte, error)
- func HandleSubrouter(s *mux.Router, confhandler *respond.ConfHandler)
- func ListGroupMetricIssues(r *http.Request, cfg config.Config) (int, http.Header, []byte, error)
- func Options(r *http.Request, cfg config.Config) (int, http.Header, []byte, error)
- type EndpointData
- type GroupMetrics
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
func ListGroupMetricIssues ¶
ListGroupMetricIssues returns a lists of metrics that have issues in a specific group
Types ¶
type EndpointData ¶
type EndpointData struct {
Timestamp string `bson:"timestamp" json:"timestamp"`
EndpointGroup string `bson:"endpoint_group" json:"endpoint_group"`
Service string `bson:"service" json:"service"`
Hostname string `bson:"host" json:"endpoint"`
Status string `bson:"status" json:"status"`
DateInt string `bson:"date_integer" json:"-"`
Info map[string]string `bson:"info" json:"info,omitempty"`
}
EndpointData struct holds the queried endpoint data from datastore
type GroupMetrics ¶
type GroupMetrics struct {
Service string `bson:"service" json:"service,omitempty"`
Hostname string `bson:"host" json:"hostname"`
Metric string `bson:"metric" json:"metric,omitempty"`
Status string `bson:"status" json:"status,omitempty"`
Info map[string]string `bson:"info" json:"info,omitempty"`
}
GroupMetrics hold issues with metrics in a specific group
Click to show internal directories.
Click to hide internal directories.