Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlertMethod ¶
type AlertMethod interface {
AlertForError(serviceName string, availabilityTarget float64) []rulefmt.Rule
AlertForLatency(serviceName string, targets []LatencyTarget) []rulefmt.Rule
}
func Get ¶
func Get(name string) AlertMethod
type LatencyTarget ¶
type MultiRateErrorOpts ¶
type MultiRateLatencyOpts ¶
type MultiRateLatencyOpts struct {
Metric string
Label labels.Label
Buckets []LatencyTarget
Kind string // page or ticket
}
type MultiRateWindow ¶
type MultiWindowAlgorithm ¶
type MultiWindowAlgorithm struct{}
func (*MultiWindowAlgorithm) AlertForError ¶
func (*MultiWindowAlgorithm) AlertForError(serviceName string, availabilityTarget float64) []rulefmt.Rule
func (*MultiWindowAlgorithm) AlertForLatency ¶
func (*MultiWindowAlgorithm) AlertForLatency(serviceName string, targets []LatencyTarget) []rulefmt.Rule
Click to show internal directories.
Click to hide internal directories.