diff --git a/addons/promex/service-prometheus.c b/addons/promex/service-prometheus.c index 4e0bc68e1..99aa46482 100644 --- a/addons/promex/service-prometheus.c +++ b/addons/promex/service-prometheus.c @@ -438,11 +438,6 @@ static int promex_dump_ts_header(const struct ist name, const struct ist desc, e 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 ||