Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SLOGroupLabelsIDMarshal ¶
Types ¶
type SLO ¶
type SLO struct {
ID string // ID is unique for an SLO and grouped SLOs.
SlothID string // SlothID is the ID set by Sloth on Prometheus (if grouped by labels SLO they will share this ID).
Name string
ServiceID string
Objective float64
GroupLabels map[string]string // Some SLOs are grouped by labels under the umbrella of the same SLO spec.
IsGrouped bool
PeriodDuration time.Duration
}
type SLOBudgetDetails ¶
Click to show internal directories.
Click to hide internal directories.