Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ObservaTracePromRequest ¶
type PromMetaParams ¶
type PromQueryData ¶
type PromQueryParams ¶
type PromQueryResponse ¶
type PromQueryResponse struct { Status string `json:"status"` Data interface{} `json:"data,omitempty"` ErrorType errorType `json:"errorType,omitempty"` Error string `json:"error,omitempty"` Stats []PromQueryStats `json:"stats,omitempty"` }
type PromQueryStats ¶
type PromQueryWrapper ¶
type Querierable ¶
type QueryRequest ¶
type QueryRequest interface { // GetStart returns the start timestamp of query, unit: ms GetStart() int64 // GetEnd returns the end timestamp of query, unit: ms GetEnd() int64 // GetStep returns the query step of range-query GetStep() int64 // GetFunc returns the query aggregation functions of query GetFunc() []string // GetGrouping returns the group labels for query functions of query GetGrouping(f string) []string // GetBy returns the group way for group labels of query GetBy() bool // GetQuery returns the whole query promql of query GetQuery() string // GetMetric returns the metric name of query GetMetric() string // GetLables returns query labels of query GetLabels() []*labels.Matcher // GetRange returns the range of query function GetRange(f string) int64 // GetFuncParam returns query params of query function, only for 'topk'/'quantile'/'bottomk' GetFuncParam(f string) float64 }
type WrapHistorySeries ¶
Click to show internal directories.
Click to hide internal directories.