I have just released v1.5.1 <https://github.com/prometheus/client_golang/releases/tag/v1.5.1> of the Prometheus API and instrumentation client for Go <https://github.com/prometheus/client_golang>.
It’s a bugfix release that gets rid of yet another codepath where a superfluous WriteHeader call can happen. Have a look at PR #726 <https://github.com/prometheus/client_golang/pull/726> for more context. Special shoutout to @woodsaj <https://github.com/woodsaj>, who found the (in hindsight, as so often, very obvious) bug. This should also fix the infamous issue #6139 <https://github.com/prometheus/prometheus/issues/6139> in prometheus/prometheus. 1.5.1 / 2020-03-14 - [BUGFIX] promhttp: Remove another superfluous WriteHeader call. -- Björn Rabenstein [PGP-ID] 0x851C3DA17D748D03 [email] bjo...@rabenste.in -- You received this message because you are subscribed to the Google Groups "prometheus-announce" group. To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-announce+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/prometheus-announce/CAMrVKsx1FQy0wD%3DTK0BXhrk0f3LSNviBzhbDzUHkN-Q7z9F0Fw%40mail.gmail.com.