[Bug 263629] net/haproxy: Build with prometheus exporter enabled by default

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 28 Apr 2022 13:02:41 UTC

            Bug ID: 263629
           Summary: net/haproxy: Build with prometheus exporter enabled by
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: demon@FreeBSD.org
          Reporter: ports@skyforge.at
          Assignee: demon@FreeBSD.org
             Flags: maintainer-feedback?(demon@FreeBSD.org)

Created attachment 233560
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=233560&action=edit
net/haproxy: add PROMEX to OPTIONS_DEFAULT

haproxy has included the option for a builtin prometheus supporter since 2.0.
This exporter requires no extra dependencies and would be great to have enabled
by default, as metrics collections is becoming more and more commonplace.

While an external haproxy_exporter is available (though not in ports yet),
installing an extra package for a functionality that's available builtin seems
suboptimal. Including this option by default would make life a bit easier and
avoid the need for custom builds at no additional cost in terms of required
packages, I think.

I've attached a patch to enable this in the current haproxy package. It might
be interesting to also enable this for the other versions we're shipping. 

Feedback is very welcome, as always. :)


You are receiving this mail because:
You are the assignee for the bug.