Documentation ¶
Index ¶
- func EndpointCounterRegexpQuery(c *gin.Context)
- func EndpointRegexpQuery(c *gin.Context)
- func EndpointStrCounterRegexpQuery(c *gin.Context)
- func EndpointsGetMetricBySubStar(c *gin.Context)
- func EndpointsQuerySubMetric(c *gin.Context)
- func GrafanaMainQuery(c *gin.Context)
- func GrafanaRender(c *gin.Context)
- func HostsSearching(c *gin.Context)
- func QueryGraphDrawData(c *gin.Context)
- func QueryGraphLastPoint(c *gin.Context)
- func Routes(r *gin.Engine)
- type APIEndpointCounterRegexpQueryInputs
- type APIEndpointRegexpQueryInputs
- type APIEndpointStrCounterRegexpQueryInputs
- type APIEndpointsGetMetricBySubStarInput
- type APIEndpointsQuerySubMetricInputs
- type APIGrafanaMainQueryInputs
- type APIGrafanaMainQueryOutputs
- type APIGrafanaRenderInput
- type APIQueryGraphDrawData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EndpointRegexpQuery ¶
func EndpointsQuerySubMetric ¶
func GrafanaMainQuery ¶
func GrafanaRender ¶
func HostsSearching ¶
func QueryGraphDrawData ¶
func QueryGraphLastPoint ¶
Types ¶
type APIEndpointsGetMetricBySubStarInput ¶
type APIEndpointsGetMetricBySubStarInput struct { Endpoints []string `json:"endpoints" form:"endpoints" binding:"required"` MetricQuery string `json:"metric_query" form:"metric_query" binding:"required"` StarStr []string `json:"star_strings" form:"star_strings" binding:"required"` SelectedMetric []string `json:"selected_metric" form:"selected_metric"` }
type APIGrafanaRenderInput ¶
type APIGrafanaRenderInput struct { Target []string `json:"target" form:"target" binding:"required"` From int64 `json:"from" form:"from" binding:"required"` Until int64 `json:"until" form:"until" binding:"required"` Format string `json:"format" form:"format"` MaxDataPoints int64 `json:"maxDataPoints" form:"maxDataPoints"` Step int `json:"step" form:"step"` ConsolFun string `json:"consolFun" form:"consolFun"` }
type APIQueryGraphDrawData ¶
type APIQueryGraphDrawData struct { HostNames []string `json:"hostnames" binding:"required"` Counters []string `json:"counters" binding:"required"` ConsolFun string `json:"consol_fun" binding:"required"` StartTime int64 `json:"start_time" binding:"required"` EndTime int64 `json:"end_time" binding:"required"` Step int `json:"step" binding:"required"` }
Click to show internal directories.
Click to hide internal directories.