aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/plugin
diff options
context:
space:
mode:
authorPim van den Berg2014-05-17 19:16:39 +0200
committerPim van den Berg2014-05-17 19:16:39 +0200
commitce29a597e3ce09c988d9482e24b9d2de4ec5196b (patch)
tree85bc976f78e0a1936048f212b751eac08d032c30 /plugin
parentplugin/uptime: fix legend format (.1lf -> %.1lf) (diff)
downloadapt-panopticon_cgp-ce29a597e3ce09c988d9482e24b9d2de4ec5196b.zip
apt-panopticon_cgp-ce29a597e3ce09c988d9482e24b9d2de4ec5196b.tar.gz
apt-panopticon_cgp-ce29a597e3ce09c988d9482e24b9d2de4ec5196b.tar.bz2
apt-panopticon_cgp-ce29a597e3ce09c988d9482e24b9d2de4ec5196b.tar.xz
plugin/libvirt: show (v)CPU time in milliseconds
Diffstat (limited to 'plugin')
-rw-r--r--plugin/libvirt.json10
1 files changed, 6 insertions, 4 deletions
diff --git a/plugin/libvirt.json b/plugin/libvirt.json
index 9329a8a..af3c46c 100644
--- a/plugin/libvirt.json
+++ b/plugin/libvirt.json
@@ -98,18 +98,20 @@
98 }, 98 },
99 "virt_cpu_total": { 99 "virt_cpu_total": {
100 "title": "CPU usage", 100 "title": "CPU usage",
101 "vertical": "CPU time", 101 "vertical": "Milliseconds",
102 "legend": { 102 "legend": {
103 "value": { 103 "value": {
104 "name": "CPU time", 104 "name": "CPU time",
105 "color": "0000ff" 105 "color": "0000ff"
106 } 106 }
107 }, 107 },
108 "legend_format": "%5.1lf" 108 "legend_format": "%5.1lf",
109 "scale": 0.000001
109 }, 110 },
110 "virt_vcpu": { 111 "virt_vcpu": {
111 "title": "vCPU usage", 112 "title": "vCPU usage",
112 "vertical": "vCPU time", 113 "vertical": "Milliseconds",
113 "legend_format": "%5.1lf" 114 "legend_format": "%5.1lf",
115 "scale": 0.000001
114 } 116 }
115} 117}