When the support for modules was added, the function producing the #HELP
line of each metric was refactored. Since then, the prefix "#HELP
<metric-name>" is printed twice because a code block was not removed. It is
now fixed.
This patch must be backported to 3.0.
t = ist("gauge");
}
- if (istcat(out, ist("# HELP "), max) == -1 ||
- istcat(out, name, max) == -1 ||
- istcat(out, ist(" "), max) == -1)
- goto full;
-
if (istcat(out, ist("# HELP "), max) == -1 ||
istcat(out, name, max) == -1 ||
istcat(out, ist(" "), max) == -1 ||