From: Florian Forster Date: Fri, 8 Dec 2017 07:28:35 +0000 (+0100) Subject: processes plugin: Add the "delay-" prefix to type instances. X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=023790e3c1eb24fab52cafbcd90004312059787c;p=collectd.git processes plugin: Add the "delay-" prefix to type instances. This fixes a regression introduced in 17b81d4fa4eabbb7c029ccf424f43e4d89c27e35. --- diff --git a/src/processes.c b/src/processes.c index de03b343..1fcd7a61 100644 --- a/src/processes.c +++ b/src/processes.c @@ -911,10 +911,10 @@ static void ps_submit_proc_list(procstat_t *ps) { char *type_instance; gauge_t rate_ns; } delay_metrics[] = { - {"cpu", ps->delay_cpu}, - {"blkio", ps->delay_blkio}, - {"swapin", ps->delay_swapin}, - {"freepages", ps->delay_freepages}, + {"delay-cpu", ps->delay_cpu}, + {"delay-blkio", ps->delay_blkio}, + {"delay-swapin", ps->delay_swapin}, + {"delay-freepages", ps->delay_freepages}, }; for (size_t i = 0; i < STATIC_ARRAY_SIZE(delay_metrics); i++) { if (isnan(delay_metrics[i].rate_ns)) {