Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MatchGroupsName ¶ added in v6.0.2
Types ¶
type AnomalyPoint ¶
type AnomalyPoint struct { Key string `json:"key"` Labels model.Metric `json:"labels"` Timestamp int64 `json:"timestamp"` Value float64 `json:"value"` Severity int `json:"severity"` Triggered bool `json:"triggered"` Query string `json:"query"` }
func ConvertAnomalyPoints ¶
func ConvertAnomalyPoints(value model.Value) (lst []AnomalyPoint)
func NewAnomalyPoint ¶
func (*AnomalyPoint) ReadableValue ¶
func (v *AnomalyPoint) ReadableValue() string
Click to show internal directories.
Click to hide internal directories.