From: Costa Tsaousis Date: Mon, 24 Oct 2016 16:32:29 +0000 (+0300) Subject: cgroups bandwidth charts are now area charts X-Git-Tag: v1.5.0~218^2~3 X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b5103daa7786db6e1de576805f8711b79da934b;p=netdata.git cgroups bandwidth charts are now area charts --- diff --git a/src/sys_fs_cgroup.c b/src/sys_fs_cgroup.c index 298f38a3..0ec67376 100644 --- a/src/sys_fs_cgroup.c +++ b/src/sys_fs_cgroup.c @@ -1279,7 +1279,7 @@ void update_cgroup_charts(int update_every) { if(!st) { snprintfz(title, CHART_TITLE_MAX, "I/O Bandwidth (all disks) for cgroup %s", cg->chart_title); st = rrdset_create(type, "io", NULL, "disk", "cgroup.io", title, "KB/s", 41200, - update_every, RRDSET_TYPE_LINE); + update_every, RRDSET_TYPE_AREA); rrddim_add(st, "read", NULL, 1, 1024, RRDDIM_INCREMENTAL); rrddim_add(st, "write", NULL, -1, 1024, RRDDIM_INCREMENTAL); @@ -1313,7 +1313,7 @@ void update_cgroup_charts(int update_every) { if(!st) { snprintfz(title, CHART_TITLE_MAX, "Throttle I/O Bandwidth (all disks) for cgroup %s", cg->chart_title); st = rrdset_create(type, "io", NULL, "disk", "cgroup.io", title, "KB/s", 41200, - update_every, RRDSET_TYPE_LINE); + update_every, RRDSET_TYPE_AREA); rrddim_add(st, "read", NULL, 1, 1024, RRDDIM_INCREMENTAL); rrddim_add(st, "write", NULL, -1, 1024, RRDDIM_INCREMENTAL);