Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Infrastructure GitOps
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Operate
Terraform modules
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Shivering-Isles
Infrastructure GitOps
Commits
db3b8989
Verified
Commit
db3b8989
authored
2 years ago
by
Sheogorath
Browse files
Options
Downloads
Patches
Plain Diff
fix(blog): Fix some SLO docs to provide proper description
parent
a5533827
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
apps/k8s01/blog/slo.yaml
+4
-4
4 additions, 4 deletions
apps/k8s01/blog/slo.yaml
with
4 additions
and
4 deletions
apps/k8s01/blog/slo.yaml
+
4
−
4
View file @
db3b8989
...
...
@@ -8,20 +8,20 @@ spec:
slos
:
-
name
:
"
requests-availability"
objective
:
99
description
:
"
b
log
SLO
based
on
availability
for
HTTP
request
responses."
description
:
"
B
log
:
SLO
based
on
availability
for
HTTP
request
responses."
sli
:
events
:
errorQuery
:
sum(rate(nginx_ingress_controller_requests{exported_namespace="blog",ingress="blog",status=~"(5..|429)"}[{{.window}}]))
totalQuery
:
sum(rate(nginx_ingress_controller_requests{exported_namespace="blog",ingress="blog"}[{{.window}}]))
alerting
:
name
:
b
logHighErrorRate
name
:
B
logHighErrorRate
labels
:
category
:
"
availability"
annotations
:
summary
:
"
High
error
rate
on
'blog'
requests
responses"
-
name
:
"
requests-latency"
objective
:
99
description
:
"
Warn
that
we
apiserver
responses
are
being
slow
and
this
will
affect
the
clients
(kubectl
users,
controllers...)
."
description
:
"
Blog:
SLO
based
on
latency
for
HTTP
request
responses.
Warns
if
requests
take
longer
than
250ms.
When
responses
are
slower
than
200ms
they
become
noticable
slow
."
labels
:
category
:
latency
sli
:
...
...
@@ -34,7 +34,7 @@ spec:
)
totalQuery
:
sum(rate(nginx_ingress_controller_request_duration_seconds_count{exported_namespace="blog",ingress="blog",method!="WATCH"}[{{.window}}]))
alerting
:
name
:
b
logLatencyAlert
name
:
B
logLatencyAlert
labels
:
category
:
"
latency"
annotations
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment