argo-web-api: Index | Files

package statusMetrics

import ""


Package Files

controller.go model.go routing.go view.go

func HandleSubrouter Uses

func HandleSubrouter(s *mux.Router, confhandler *respond.ConfHandler)

HandleSubrouter contains the different paths to follow during subrouting

func ListMetricTimelines Uses

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

ListMetricTimelines returns a list of metric timelines

func Options Uses

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

Options implements the option request on resource

type DataOutput Uses

type DataOutput struct {
    Timestamp     string `bson:"timestamp"`
    EndpointGroup string `bson:"endpoint_group"`
    Service       string `bson:"service"`
    Hostname      string `bson:"host"`
    Metric        string `bson:"metric"`
    Status        string `bson:"status"`
    DateInt       string `bson:"date_int"`
    PrevTimestamp string `bson:"previous_timestamp"`
    PrevStatus    string `bson:"previous_state"`

DataOutput struct holds the queried data from datastore

type InputParams Uses

type InputParams struct {
    // contains filtered or unexported fields

InputParams struct holds as input all the url params of the request

Package statusMetrics imports 16 packages (graph) and is imported by 3 packages. Updated 2020-07-14. Refresh now. Tools for package owners.