Merge ~xavpaice/charm-telegraf:bug/1814873 into charm-telegraf:master

Proposed by Xav Paice
Status: Merged
Approved by: James Troup
Approved revision: a895aaf8467696fb2a9b04e42e2a7d042bf59ce8
Merged at revision: cef974124e523c37feddf955f33e6def71e9c0f4
Proposed branch: ~xavpaice/charm-telegraf:bug/1814873
Merge into: charm-telegraf:master
Diff against target: 21 lines (+2/-2)
1 file modified
src/templates/dashboards/grafana/Telegraf.json.j2 (+2/-2)
Reviewer Review Type Date Requested Status
James Troup (community) Approve
Canonical IS Reviewers Pending
Review via email: mp+399895@code.launchpad.net

Commit message

Limit process swap dashboard to selected host

To post a comment you must log in.
Revision history for this message
🤖 Canonical IS Merge Bot (canonical-is-mergebot) wrote :

This merge proposal is being monitored by mergebot. Change the status to Approved to merge.

Revision history for this message
James Troup (elmo) wrote :

LGTM

review: Approve
Revision history for this message
🤖 Canonical IS Merge Bot (canonical-is-mergebot) wrote :

Change successfully merged at revision cef974124e523c37feddf955f33e6def71e9c0f4

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/src/templates/dashboards/grafana/Telegraf.json.j2 b/src/templates/dashboards/grafana/Telegraf.json.j2
2index c23e007..a58f678 100644
3--- a/src/templates/dashboards/grafana/Telegraf.json.j2
4+++ b/src/templates/dashboards/grafana/Telegraf.json.j2
5@@ -2907,14 +2907,14 @@
6 "steppedLine": false,
7 "targets": [
8 {
9- "expr": "irate(kernel_vmstat_pswpin[5m])",
10+ "expr": "irate(kernel_vmstat_pswpin{host=~\"$host\"}[5m])",
11 "interval": "",
12 "intervalFactor": 2,
13 "legendFormat": "In - {{ host }}",
14 "refId": "A"
15 },
16 {
17- "expr": "irate(kernel_vmstat_pswpout[5m])",
18+ "expr": "irate(kernel_vmstat_pswpout{host=~\"$host\"}[5m])",
19 "interval": "",
20 "intervalFactor": 2,
21 "legendFormat": "Out {{ host }}",

Subscribers

People subscribed via source and target branches

to all changes: