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
cc389a71
Unverified
Commit
cc389a71
authored
5 years ago
by
Frederic Branczyk
Committed by
GitHub
5 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #289 from BenoitKnecht/fix-memory-saturation-dashboard
Fix memory saturation dashboard
parents
7f2e669d
20eb5b31
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
jsonnetfile.lock.json
+1
-1
1 addition, 1 deletion
jsonnetfile.lock.json
manifests/grafana-dashboardDefinitions.yaml
+5
-5
5 additions, 5 deletions
manifests/grafana-dashboardDefinitions.yaml
manifests/prometheus-rules.yaml
+2
-6
2 additions, 6 deletions
manifests/prometheus-rules.yaml
with
8 additions
and
12 deletions
jsonnetfile.lock.json
+
1
−
1
View file @
cc389a71
...
@@ -97,7 +97,7 @@
...
@@ -97,7 +97,7 @@
"subdir"
:
"docs/node-mixin"
"subdir"
:
"docs/node-mixin"
}
}
},
},
"version"
:
"
9f49fff79ef85fcebb69289622150e6d5346528b
"
"version"
:
"
d574b4b41b72966a2ace4d6d81195081dfca8301
"
},
},
{
{
"name"
:
"promgrafonnet"
,
"name"
:
"promgrafonnet"
,
...
...
This diff is collapsed.
Click to expand it.
manifests/grafana-dashboardDefinitions.yaml
+
5
−
5
View file @
cc389a71
...
@@ -20553,7 +20553,7 @@ items:
...
@@ -20553,7 +20553,7 @@ items:
"steppedLine": false,
"steppedLine": false,
"targets": [
"targets": [
{
{
"expr": "instance:node_
memory_swap_io_pages
:rate1m{job=\"node-exporter\"}",
"expr": "instance:node_
vmstat_pgmajfault
:rate1m{job=\"node-exporter\"}",
"format": "time_series",
"format": "time_series",
"intervalFactor": 2,
"intervalFactor": 2,
"legendFormat": "{{instance}}",
"legendFormat": "{{instance}}",
...
@@ -20566,7 +20566,7 @@ items:
...
@@ -20566,7 +20566,7 @@ items:
],
],
"timeFrom": null,
"timeFrom": null,
"timeShift": null,
"timeShift": null,
"title": "Memory Saturation (
Swapped Page
s)",
"title": "Memory Saturation (
Major Page Fault
s)",
"tooltip": {
"tooltip": {
"shared": false,
"shared": false,
"sort": 0,
"sort": 0,
...
@@ -21501,10 +21501,10 @@ items:
...
@@ -21501,10 +21501,10 @@ items:
"steppedLine": false,
"steppedLine": false,
"targets": [
"targets": [
{
{
"expr": "instance:node_
memory_swap_io_pages
:rate1m{job=\"node-exporter\", instance=\"$instance\"}",
"expr": "instance:node_
vmstat_pgmajfault
:rate1m{job=\"node-exporter\", instance=\"$instance\"}",
"format": "time_series",
"format": "time_series",
"intervalFactor": 2,
"intervalFactor": 2,
"legendFormat": "
Swap IO
",
"legendFormat": "
Major page faults
",
"legendLink": null,
"legendLink": null,
"step": 10
"step": 10
}
}
...
@@ -21514,7 +21514,7 @@ items:
...
@@ -21514,7 +21514,7 @@ items:
],
],
"timeFrom": null,
"timeFrom": null,
"timeShift": null,
"timeShift": null,
"title": "Memory Saturation (
pages swapped per second
)",
"title": "Memory Saturation (
Major Page Faults
)",
"tooltip": {
"tooltip": {
"shared": false,
"shared": false,
"sort": 0,
"sort": 0,
This diff is collapsed.
Click to expand it.
manifests/prometheus-rules.yaml
+
2
−
6
View file @
cc389a71
...
@@ -37,12 +37,8 @@ spec:
...
@@ -37,12 +37,8 @@ spec:
)
)
record
:
instance:node_memory_utilisation:ratio
record
:
instance:node_memory_utilisation:ratio
-
expr
:
|
-
expr
:
|
(
rate(node_vmstat_pgmajfault{job="node-exporter"}[1m])
rate(node_vmstat_pgpgin{job="node-exporter"}[1m])
record
:
instance:node_vmstat_pgmajfault:rate1m
+
rate(node_vmstat_pgpgout{job="node-exporter"}[1m])
)
record
:
instance:node_memory_swap_io_pages:rate1m
-
expr
:
|
-
expr
:
|
rate(node_disk_io_time_seconds_total{job="node-exporter", device=~"nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+"}[1m])
rate(node_disk_io_time_seconds_total{job="node-exporter", device=~"nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+"}[1m])
record
:
instance_device:node_disk_io_time_seconds:rate1m
record
:
instance_device:node_disk_io_time_seconds:rate1m
...
...
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