Documentation
¶
Index ¶
- func AlertConditions() []v1.AlertCondition
- func AlertNotificationTargets() []v1.AlertNotificationTarget
- func AlertPolicies() []v1.AlertPolicy
- func AllObjects() slogo.Objects
- func ExampleAvailabilitySLO() v1.SLO
- func ExampleDurationP99SLO() v1.SLO
- func ExampleDurationSLO() v1.SLO
- func ExampleErrorRateSLO() v1.SLO
- func ExampleRateSLO() v1.SLO
- func SLOs() []v1.SLO
- func SLOsBySetSlug() map[string][]v1.SLO
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AlertConditions ¶ added in v0.3.0
func AlertConditions() []v1.AlertCondition
AlertConditions returns standard burn rate alert conditions for SLOs. These implement the Google SRE multi-window, multi-burn-rate alerting approach.
func AlertNotificationTargets ¶ added in v0.3.0
func AlertNotificationTargets() []v1.AlertNotificationTarget
AlertNotificationTargets returns example notification targets.
func AlertPolicies ¶ added in v0.3.0
func AlertPolicies() []v1.AlertPolicy
AlertPolicies returns alert policies for the RED metrics SLOs.
func AllObjects ¶ added in v0.3.0
AllObjects returns all OpenSLO objects including SLOs, alert conditions, notification targets, and alert policies.
func ExampleAvailabilitySLO ¶
ExampleAvailabilitySLO is a derived SLO that measures service availability. Availability is calculated from Rate (R) and Error (E) metrics in RED - combining whether the service is handling requests AND those requests are successful.
func ExampleDurationP99SLO ¶
ExampleDurationP99SLO is a SLO that measures P99 latency for more stringent requirements.
func ExampleDurationSLO ¶
ExampleDurationSLO is a SLO that measures request duration (latency). Duration is the "D" in RED metrics - tracking how long requests take to complete.
func ExampleErrorRateSLO ¶
ExampleErrorRateSLO is a SLO that measures the error rate of requests. Error rate is the "E" in RED metrics - tracking the proportion of failed requests.
func ExampleRateSLO ¶
ExampleRateSLO is a SLO that measures the request rate (requests per second) for an API service. Rate is the "R" in RED metrics - tracking how many requests the service handles.
func SLOsBySetSlug ¶ added in v0.3.0
Types ¶
This section is empty.