Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
kube-prometheus
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
prometheus-operator
kube-prometheus
Commits
681a18ef
Commit
681a18ef
authored
6 years ago
by
Dmitry Verkhoturov
Browse files
Options
Downloads
Patches
Plain Diff
fix labels
parent
3e708475
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
manifests/prometheus-rules.yaml
+9
-9
9 additions, 9 deletions
manifests/prometheus-rules.yaml
with
9 additions
and
9 deletions
manifests/prometheus-rules.yaml
+
9
−
9
View file @
681a18ef
...
...
@@ -688,7 +688,7 @@ spec:
severity
:
warning
-
alert
:
KubeCronJobRunning
annotations
:
message
:
CronJob {{ $labels.namespace
s
}}/{{ $labels.cronjob }} is taking
message
:
CronJob {{ $labels.namespace }}/{{ $labels.cronjob }} is taking
more than 1h to complete.
runbook_url
:
https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubecronjobrunning
expr
:
|
...
...
@@ -698,7 +698,7 @@ spec:
severity
:
warning
-
alert
:
KubeJobCompletion
annotations
:
message
:
Job {{ $labels.namespace
s
}}/{{ $labels.job }} is taking more than
message
:
Job {{ $labels.namespace }}/{{ $labels.job
_name
}} is taking more than
one hour to complete.
runbook_url
:
https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubejobcompletion
expr
:
|
...
...
@@ -708,7 +708,7 @@ spec:
severity
:
warning
-
alert
:
KubeJobFailed
annotations
:
message
:
Job {{ $labels.namespace
s
}}/{{ $labels.job }} failed to complete.
message
:
Job {{ $labels.namespace }}/{{ $labels.job
_name
}} failed to complete.
runbook_url
:
https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubejobfailed
expr
:
|
kube_job_status_failed{job="kube-state-metrics"} > 0
...
...
@@ -852,7 +852,7 @@ spec:
severity
:
warning
-
alert
:
KubeClientErrors
annotations
:
message
:
Kubernetes API server client '{{ $labels.job }}/{{ $labels.instance
message
:
Kubernetes API server client '{{ $labels.job
_name
}}/{{ $labels.instance
}}' is experiencing {{ printf "%0.0f" $value }}% errors.'
runbook_url
:
https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubeclienterrors
expr
:
|
...
...
@@ -865,7 +865,7 @@ spec:
severity
:
warning
-
alert
:
KubeClientErrors
annotations
:
message
:
Kubernetes API server client '{{ $labels.job }}/{{ $labels.instance
message
:
Kubernetes API server client '{{ $labels.job
_name
}}/{{ $labels.instance
}}' is experiencing {{ printf "%0.0f" $value }} errors / second.
runbook_url
:
https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-kubeclienterrors
expr
:
|
...
...
@@ -975,7 +975,7 @@ spec:
rules
:
-
alert
:
TargetDown
annotations
:
message
:
'
{{
$value
}}%
of
the
{{
$labels.job
}}
targets
are
down.'
message
:
'
{{
$value
}}%
of
the
{{
$labels.job
_name
}}
targets
are
down.'
expr
:
100 * (count(up == 0) BY (job) / count(up) BY (job)) >
10
for
:
10m
labels
:
...
...
@@ -1060,7 +1060,7 @@ spec:
severity
:
warning
-
alert
:
PrometheusTSDBReloadsFailing
annotations
:
description
:
'
{{$labels.job}}
at
{{$labels.instance}}
had
{{$value
|
humanize}}
description
:
'
{{$labels.job
_name
}}
at
{{$labels.instance}}
had
{{$value
|
humanize}}
reload
failures
over
the
last
four
hours.'
summary
:
Prometheus has issues reloading data blocks from disk
expr
:
|
...
...
@@ -1070,7 +1070,7 @@ spec:
severity
:
warning
-
alert
:
PrometheusTSDBCompactionsFailing
annotations
:
description
:
'
{{$labels.job}}
at
{{$labels.instance}}
had
{{$value
|
humanize}}
description
:
'
{{$labels.job
_name
}}
at
{{$labels.instance}}
had
{{$value
|
humanize}}
compaction
failures
over
the
last
four
hours.'
summary
:
Prometheus has issues compacting sample blocks
expr
:
|
...
...
@@ -1080,7 +1080,7 @@ spec:
severity
:
warning
-
alert
:
PrometheusTSDBWALCorruptions
annotations
:
description
:
'
{{$labels.job}}
at
{{$labels.instance}}
has
a
corrupted
write-ahead
description
:
'
{{$labels.job
_name
}}
at
{{$labels.instance}}
has
a
corrupted
write-ahead
log
(WAL).'
summary
:
Prometheus write-ahead log is corrupted
expr
:
|
...
...
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