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
6b6ce7fc
Commit
6b6ce7fc
authored
7 years ago
by
Frederic Branczyk
Committed by
GitHub
7 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #794 from brancz/prom-rules
kube-prometheus: Add Prometheus 2.0 rules
parents
64425be6
3afc174f
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
assets/prometheus/rules/prometheus.rules.yaml
+27
-0
27 additions, 0 deletions
assets/prometheus/rules/prometheus.rules.yaml
with
27 additions
and
0 deletions
assets/prometheus/rules/prometheus.rules.yaml
+
27
−
0
View file @
6b6ce7fc
...
@@ -42,3 +42,30 @@ groups:
...
@@ -42,3 +42,30 @@ groups:
annotations
:
annotations
:
description
:
Prometheus {{ $labels.namespace }}/{{ $labels.pod}} is not connected
description
:
Prometheus {{ $labels.namespace }}/{{ $labels.pod}} is not connected
to any Alertmanagers
to any Alertmanagers
-
alert
:
PrometheusTSDBReloadsFailing
expr
:
increase(prometheus_tsdb_reloads_failures_total[2h]) >
0
for
:
12h
labels
:
severity
:
warning
annotations
:
description
:
'
{{$labels.job}}
at
{{$labels.instance}}
had
{{$value
|
humanize}}
reload
failures
over
the
last
four
hours.'
summary
:
Prometheus has issues reloading data blocks from disk
-
alert
:
PrometheusTSDBCompactionsFailing
expr
:
increase(prometheus_tsdb_compactions_failed_total[2h]) >
0
for
:
12h
labels
:
severity
:
warning
annotations
:
description
:
'
{{$labels.job}}
at
{{$labels.instance}}
had
{{$value
|
humanize}}
compaction
failures
over
the
last
four
hours.'
summary
:
Prometheus has issues compacting sample blocks
-
alert
:
PrometheusTSDBWALCorruptions
expr
:
tsdb_wal_corruptions_total >
0
for
:
4h
labels
:
severity
:
warning
annotations
:
description
:
'
{{$labels.job}}
at
{{$labels.instance}}
has
a
corrupted
write-ahead
log
(WAL).'
summary
:
Prometheus write-ahead log is corrupted
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