issues

package
v1.14.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 15, 2025 License: Apache-2.0, Apache-2.0 Imports: 14 Imported by: 0

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

func ListGroupMetricIssues

func ListGroupMetricIssues(r *http.Request, cfg config.Config) (int, http.Header, []byte, error)

ListGroupMetricIssues returns a lists of metrics that have issues in a specific group

func Options

func Options(r *http.Request, cfg config.Config) (int, http.Header, []byte, error)

Options implements the option request on resource

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL