@cryptotaxi247 / netdata-1 / commits / 2b5103daa

cgroups bandwidth charts are now area charts

Costa Tsaousis committed Oct 24, 2016 at 19:32 UTC 2b5103daa7786db6e1de576805f8711b79da934b
1 file changed +2 -2
src/sys_fs_cgroup.c
+2 -2
@@ -1279,7 +1279,7 @@ void update_cgroup_charts(int update_every) {
1279 if(!st) {
1280 snprintfz(title, CHART_TITLE_MAX, "I/O Bandwidth (all disks) for cgroup %s", cg->chart_title);
1281 st = rrdset_create(type, "io", NULL, "disk", "cgroup.io", title, "KB/s", 41200,
1282 - update_every, RRDSET_TYPE_LINE);
1282 + update_every, RRDSET_TYPE_AREA);
1283
1284 rrddim_add(st, "read", NULL, 1, 1024, RRDDIM_INCREMENTAL);
1285 rrddim_add(st, "write", NULL, -1, 1024, RRDDIM_INCREMENTAL);
@@ -1313,7 +1313,7 @@ void update_cgroup_charts(int update_every) {
1313 if(!st) {
1314 snprintfz(title, CHART_TITLE_MAX, "Throttle I/O Bandwidth (all disks) for cgroup %s", cg->chart_title);
1315 st = rrdset_create(type, "io", NULL, "disk", "cgroup.io", title, "KB/s", 41200,
1316 - update_every, RRDSET_TYPE_LINE);
1316 + update_every, RRDSET_TYPE_AREA);
1317
1318 rrddim_add(st, "read", NULL, 1, 1024, RRDDIM_INCREMENTAL);
1319 rrddim_add(st, "write", NULL, -1, 1024, RRDDIM_INCREMENTAL);