Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
geosphere-deploy
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
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
cspp_geo
geosphere
geosphere-deploy
Commits
f354b9d9
Verified
Commit
f354b9d9
authored
4 years ago
by
David Hoese
Browse files
Options
Downloads
Patches
Plain Diff
Include updated prometheus configs
parent
de801da9
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
admin/kubekorner_geosphere_prometheus_rules.yaml
+4
-4
4 additions, 4 deletions
admin/kubekorner_geosphere_prometheus_rules.yaml
admin/prometheus_kubernetes_values.yaml
+1
-1
1 addition, 1 deletion
admin/prometheus_kubernetes_values.yaml
with
5 additions
and
5 deletions
admin/kubekorner_geosphere_prometheus_rules.yaml
+
4
−
4
View file @
f354b9d9
...
...
@@ -211,23 +211,23 @@ spec:
summary
:
"
Host
unusual
network
throughput
out
(instance
{{
$labels.instance
}})"
description
:
"
Host
network
interfaces
are
probably
sending
too
much
data
(>
100
MB/s)
\n
VALUE
=
{{
$value
}}
\n
LABELS:
{{
$labels
}}"
-
alert
:
HostUnusualDiskReadRate
expr
:
sum by (instance) (irate(node_disk_read_bytes_total[5m])) / 1024 / 1024 >
50
expr
:
sum by (instance) (irate(node_disk_read_bytes_total[5m])) / 1024 / 1024 >
1
50
for
:
5m
labels
:
severity
:
warning
ruleGroup
:
geosphere-node
annotations
:
summary
:
"
Host
unusual
disk
read
rate
(instance
{{
$labels.instance
}})"
description
:
"
Disk
is
probably
reading
too
much
data
(>
50
MB/s)
\n
VALUE
=
{{
$value
}}
\n
LABELS:
{{
$labels
}}"
description
:
"
Disk
is
probably
reading
too
much
data
(>
1
50
MB/s)
\n
VALUE
=
{{
$value
}}
\n
LABELS:
{{
$labels
}}"
-
alert
:
HostUnusualDiskWriteRate
expr
:
sum by (instance) (irate(node_disk_written_bytes_total[5m])) / 1024 / 1024 >
50
expr
:
sum by (instance) (irate(node_disk_written_bytes_total[5m])) / 1024 / 1024 >
1
50
for
:
5m
labels
:
severity
:
warning
ruleGroup
:
geosphere-node
annotations
:
summary
:
"
Host
unusual
disk
write
rate
(instance
{{
$labels.instance
}})"
description
:
"
Disk
is
probably
writing
too
much
data
(>
50
MB/s)
\n
VALUE
=
{{
$value
}}
\n
LABELS:
{{
$labels
}}"
description
:
"
Disk
is
probably
writing
too
much
data
(>
1
50
MB/s)
\n
VALUE
=
{{
$value
}}
\n
LABELS:
{{
$labels
}}"
-
alert
:
HostOutOfDiskSpace
expr
:
(node_filesystem_avail_bytes{mountpoint="/"} * 100) / node_filesystem_size_bytes{mountpoint="/"} <
10
for
:
5m
...
...
This diff is collapsed.
Click to expand it.
admin/prometheus_kubernetes_values.yaml
+
1
−
1
View file @
f354b9d9
...
...
@@ -43,7 +43,7 @@ alertmanager:
-
name
:
"
null"
-
name
:
"
geosphere-dev-team"
slack_configs
:
-
channel
:
"
#geo
2grid
"
-
channel
:
"
#geo
sphere
"
send_resolved
:
true
color
:
'
{{
if
eq
.Status
"firing"
}}danger{{
else
}}good{{
end
}}'
title
:
'
[{{
.Status
|
toUpper
}}{{
if
eq
.Status
"firing"
}}:{{
.Alerts.Firing
|
len
}}{{
end
}}]
{{
.GroupLabels.SortedPairs.Values
|
join
"
"
}}
{{
if
gt
(len
.CommonLabels)
(len
.GroupLabels)
}}({{
with
.CommonLabels.Remove
.GroupLabels.Names
}}{{
.Values
|
join
"
"
}}{{
end
}}){{
end
}}'
...
...
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