Merge charm-telegraf:cpu_usage_steal_dashboard into charm-telegraf:master

Proposed by Adam Dyess
Status: Merged
Approved by: Xav Paice
Approved revision: 46fdb0a6916977f32f1c9bfa610f8cb0e7657aca
Merged at revision: 252b8c92847e42adafc8ead8ccade5c8eab0189c
Proposed branch: charm-telegraf:cpu_usage_steal_dashboard
Merge into: charm-telegraf:master
Diff against target: 32 lines (+21/-0)
1 file modified
src/templates/dashboards/grafana/Telegraf.json.j2 (+21/-0)
Reviewer Review Type Date Requested Status
Xav Paice (community) Approve
Paul Goins Approve
🤖 prod-jenkaas-bootstack (community) continuous-integration Approve
Canonical IS Reviewers Pending
Review via email: mp+406159@code.launchpad.net

Commit message

Add new metrics to the CPU dashboard presented by grafana on relation add to telegraf

To post a comment you must log in.
Revision history for this message
🤖 prod-jenkaas-bootstack (prod-jenkaas-bootstack) wrote :

A CI job is currently in progress. A follow up comment will be added when it completes.

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
🤖 prod-jenkaas-bootstack (prod-jenkaas-bootstack) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
🤖 prod-jenkaas-bootstack (prod-jenkaas-bootstack) wrote :

A CI job is currently in progress. A follow up comment will be added when it completes.

Revision history for this message
🤖 prod-jenkaas-bootstack (prod-jenkaas-bootstack) wrote :
review: Approve (continuous-integration)
Revision history for this message
Paul Goins (vultaire) wrote :

LGTM

review: Approve
Revision history for this message
Xav Paice (xavpaice) wrote :

LGTM

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

Change successfully merged at revision 252b8c92847e42adafc8ead8ccade5c8eab0189c

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 9e8bc5e..7a9c9b8 100644
3--- a/src/templates/dashboards/grafana/Telegraf.json.j2
4+++ b/src/templates/dashboards/grafana/Telegraf.json.j2
5@@ -503,6 +503,27 @@
6 "legendFormat": "idle - {{ host }}",
7 "refId": "B",
8 "step": 2
9+ },
10+ {
11+ "expr": "cpu_usage_steal{cpu=\"cpu-total\", host=~\"$host\"}",
12+ "interval": "",
13+ "intervalFactor": 2,
14+ "legendFormat": "steal {{host}}",
15+ "refId": "H"
16+ },
17+ {
18+ "expr": "cpu_usage_guest{cpu=\"cpu-total\", host=~\"$host\"}",
19+ "interval": "",
20+ "intervalFactor": 2,
21+ "legendFormat": "guest {{host}}",
22+ "refId": "I"
23+ },
24+ {
25+ "expr": "cpu_usage_guest_nice{cpu=\"cpu-total\", host=~\"$host\"}",
26+ "interval": "",
27+ "intervalFactor": 2,
28+ "legendFormat": "guest-nice {{host}}",
29+ "refId": "J"
30 }
31 ],
32 "thresholds": [],

Subscribers

No one subscribed via source and target branches