Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExprBlock ¶
func (*ExprBlock) ComputeExpr ¶
type Objectives ¶
type Objectives struct {
Availability float64 `yaml:"availability"`
Latency []methods.LatencyTarget `yaml:"latency"`
}
type SLO ¶
type SLO struct {
Name string `yaml:"name"`
Objectives Objectives
ErrorRateRecord ExprBlock `yaml:"errorRateRecord"`
LatencyRecord ExprBlock `yaml:"latencyRecord"`
Annotations map[string]string `yaml:"annotations"`
}
func (SLO) GenerateAlertRules ¶
func (SLO) GenerateGroupRules ¶
Click to show internal directories.
Click to hide internal directories.